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.
In reply to Re: Undefined Subroutine & Global symbol requires explicit package name
by rovf
in thread Undefined Subroutine & Global symbol requires explicit package name
by jaldama
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |