Browse files

New search patterns are working, not only "currency in {country}"

  • Loading branch information...
1 parent 7136642 commit 137f153e932e0c790edfc2ea8a60ba52765990e6 @Alchymista committed Apr 13, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/DDG/Goodie/CurrencyIn.pm
View
2 lib/DDG/Goodie/CurrencyIn.pm
@@ -281,7 +281,6 @@ sub clearCountryName { # Query may end with "?". If so take it away.
}
handle remainder => sub {
- #print $_;
if ($_ =~ /(in\s*.*|of\s*.*|for\s*.*)/) {
# My not very effective way of looking for position of the country name
@@ -299,7 +298,6 @@ handle remainder => sub {
$country = lc(substr($_, $position)); # Get lowercased country from position calculated above
$country = clearCountryName($country);
- print $country;
if (exists $currencies{$country}){
my $count = $#{$currencies{$country}} + 1;

0 comments on commit 137f153

Please sign in to comment.