Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Undefined subroutine &main::inet_aton called at dnscheck.pl line 15.Hmmmm..... What exactly is unclear in this error message? It is pretty much plain English. In case you wonder about the &main:: part: Subroutine names in Perl always belong to some package. If you don't write your own package definition, Perl assumes that you are in package main. Hence, Perl looks for the subroutine inet_aton in Package main.
-- Ronald Fischer <ynnor@mm.st> In reply to Re: Undefined Subroutine & Global symbol requires explicit package name
by rovf
|
|