yes, this is exactly what happens, even setting PATH with the current dir and invoking with:
$ my_script_name.pl
The value of $0 is still the same:
./my_script_name.pl
In reply to Re^3: Different behavior when parsing $0 on Solaris and Win32
by dirac
in thread Different behavior when parsing $0 on Solaris and Win32
by dirac
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |