![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: calling a subroutine from another subroutineby toolic (Bishop) |
on Jul 08, 2012 at 19:26 UTC ( #980610=note: print w/replies, xml ) | Need Help?? |
I think you meant to use $0 instead of @ARGV: $ARGV[0] is the first argument, not the program's command name itself. See $0 for the command name.
In Section
Seekers of Perl Wisdom
|
|