http://www.perlmonks.org?node_id=938714


in reply to Re^4: -e on windows giving error
in thread -e on windows giving error

Demonstrating that the Windows association mechanism uses absolute paths does not contradict what I said.

>type a.pl print "$0\n" >perl a.pl a.pl >perl .\.\.\.\.\A.pL .\.\.\.\.\A.pL