d:\tmp>echo print $0 > test.pl d:\tmp>perl test.pl test.pl d:\tmp>cd .. d:\>perl tmp/test.pl tmp/test.pl d:\>perl tmp\test.pl tmp\test.pl d:\>perl tmp/../tmp\test.pl tmp/../tmp\test.pl d:\>
it's verbatim what was called, even the slashes are not normalized on windows.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re: $0 consistent!
by LanX
in thread $0 inconsistency?
by misterperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |