ok now I am getting:
Use of inherited AUTOLOAD for non-method Net::IPv4Addr::ipv4_checkip()
deprecated at number_test.pl line 15 (#1)
(D deprecated) As an (ahem) accidental feature, AUTOLOAD subroutin
are looked up as methods (using the @ISA hierarchy) even when the
subroutines to be autoloaded were called as plain functions (e.g.
Foo::bar()), not as methods (e.g. < Foo-bar() >> or <
This bug will be rectified in future by using method lookup only f
methods' AUTOLOADs. However, there is a significant base of exist
code that may be using the old behavior. So, as an interim step,
currently issues an optional warning when non-methods use inherite
The simple rule is: Inheritance will not work when autoloading
non-methods. The simple fix for old code is: In any module that
to depend on inheriting AUTOLOAD for non-methods from a base class
named BaseClass, execute *AUTOLOAD = \&BaseClass::AUTOLOAD during
In code that currently says use AutoLoader; @ISA = qw(AutoLoader);
you should remove AutoLoader from @ISA and change use AutoLoader;
use AutoLoader 'AUTOLOAD';.
Can't locate auto/Net/IPv4Addr/ipv4_checki.al in @INC (@INC contains:
/usr/local/lib /usr/local/lib/perl5/5.8.0/sun4-solaris /usr/lo
l/lib/perl5/5.8.0/sun4-solaris /usr/local/lib/perl5/5.8.0 /usr/local/l
.8.0/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/
+perl5/site_perl .) a
t number_test.pl line 15 (#2)
(F) You said to do (or require, or use) a file that couldn't be
found. Perl looks for the file in all the locations mentioned in @
unless the file name included the full path to the file. Perhaps
need to set the PERL5LIB or PERL5OPT environment variable to say w
the extra library is, or maybe the script needs to add the library
to @INC. Or maybe you just misspelled the name of the file. See
perlfunc/require and lib.
Uncaught exception from user code:
Can't locate auto/Net/IPv4Addr/ipv4_checki.al in @INC (@INC co
ib /usr/local/lib/perl5/5.8.0/sun4-solaris /usr/local/lib/perl5/5.8.0
/5.8.0/sun4-solaris/CORE /usr/local/lib/perl5/site_perl/5.8.0/MIME /us
8.0/CGI/ /usr/local/bin/perld/modules/Net-IPv4Addr-0.09/blib /usr/loca
n4-solaris /usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl/5
sr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl .) a
+t number_test.pl lin
AutoLoader::AUTOLOAD(184.108.40.206) called at number_test.pl l
My PERL5LIB path is
2004-12-04 Janitored by Arunbear - added code tags, as per Monastery guidelines
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||