|
|
| Just another Perl shrine | |
| PerlMonks |
Re: Re: Line Numbersby BazB (Priest) |
| on Oct 17, 2003 at 21:27 UTC ( #300174=note: print w/ replies, xml ) | Need Help?? |
|
Update: Correction; after re-reading perlvar myself, it states "$0...Contains the name of the file containing the Perl script being executed". Update 2: I am an idiot. I've double checked, following vek's post (++); he's quite right. $0 does exactly as advertised. If the information in this post is inaccurate, or just plain wrong, don't just downvote - please post explaining what's wrong.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||