On Wed Oct 08 08:31:41 2014, husakm@ics.muni.cz wrote:
Show quoted text> I ended up with this error on my system:
>
> Can't locate package AutoLoader for @Net::Whois::IP::ISA
>
> There is a missing require statement in your code, adding the line:
>
> require AutoLoader;
>
> solved the issue.
This module does not use AutoLoader at all. It is likely a remnant of using h2xs (without the -X option) to generate the skeleton of the distribution.
A better fix is to remove the reference to AutoLoader. For convenience a patch is attached (it's trivial, though).
Regards -- Elmar
--- a/IP.pm
+++ b/IP.pm
@@ -13,7 +13,7 @@ use File::Spec;
require Exporter;
use Carp;
-@ISA = qw(Exporter AutoLoader);
+@ISA = qw(Exporter);
@EXPORT = qw(
whoisip_query
);