Hi, Nothing to add regarding the cause of the problem you're seeing, but:
On Sunday 11 April 2010 20:07:25 cr...@animalhead.com wrote: > An operand that fails these tests results in a return value of '**'. > An operand that passes but is not in the database returns '??'. > Other operands return country codes, like 'US'. Personally, I'd choose to return undef if it failed those tests, an empty string if it wasn't in the database, or the country code otherwise. That seems rather more Perlish, and means calling code can, if it doesn't care for the reason that it couldn't find a country from the IP, simply and cleanly do: if (my $countrycode = $ipw->getcc($ipaddress)) { # do something } Cheers Dave P