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

The solution BrowserUk rarely works. It requires an absolute path when launching the script

No it does not!

C:\Perl64\bin>p1 [0] Perl> print $0;; C:\Perl64\bin\p1.pl [0] Perl> Terminating on signal SIGINT(2) C:\Perl64\bin>.\p1.pl [0] Perl> print $0;; C:\Perl64\bin\p1.pl [0] Perl> Terminating on signal SIGINT(2) C:\Perl64\bin>cd \test C:\test>p1 [0] Perl> print $0;; C:\Perl64\bin\p1.pl

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^5: -e on windows giving error
by ikegami (Patriarch) on Nov 18, 2011 at 00:05 UTC

    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