Keep It Simple, Stupid | |
PerlMonks |
(Ovid) Re: The value of $0 is your program...by Ovid (Cardinal) |
on Mar 20, 2001 at 16:51 UTC ( [id://65683]=note: print w/replies, xml ) | Need Help?? |
Heh. Nice humor.
$0 is actually something that trips up a lot of C programmers who start using Perl. They expect $ARGV[0] to hold the name of the program and then pull their hair out trying to figure out why their scripts fail.
Cheers, Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
In Section
Meditations
|
|