Merge pull request #651 from duckduckgo/zaahir/unify-URIEscape

Unify use of URI::Escape (opt for XS everywhere)
master
Jag Talon 2014-09-25 17:18:48 -04:00
commit f7dac3e20f
2 changed files with 1 additions and 2 deletions

View File

@ -62,7 +62,6 @@ Digest::MD5 = 2.53
Math::Prime::Util = 0.43
Games::Sudoku::Component = 0.02
Data::RandomPerson = 0.4
URI::Escape = 3.31
Lingua::EN::Words2Nums = 0
Locale::Currency::Format = 1.30
Net::IP = 0

View File

@ -4,7 +4,7 @@ package DDG::Goodie::POTUS;
use DDG::Goodie;
use Lingua::EN::Numbers::Ordinate qw(ordsuf ordinate);
use Lingua::EN::Words2Nums;
use URI::Escape;
use URI::Escape::XS qw(uri_escape);
triggers startend => 'potus';
triggers any => 'president of the united states', 'president of the us';