regru / Net-Whois-Raw

Get Whois information for domains
Other
11 stars 14 forks source link

Cache works wrong #3

Closed knutov closed 9 years ago

knutov commented 9 years ago

When caching is enabled - it's done without respecting QRY_LAST/QRY_FIRST flag. For example:

$Net::Whois::Raw::CACHE_DIR    = "/tmp/";
my $domain = 'example.com';
my $aa = whois($domain, undef, 'QRY_FIRST'); 
my $bb = whois($domain, undef, 'QRY_LAST'); 
say "wrong" if $aa eq $bb;
nalobin commented 9 years ago

Fixed in 2.86.

Thank you.