Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: -e on windows giving error

by BrowserUk (Pope)
on Nov 17, 2011 at 23:55 UTC ( #938712=note: print w/replies, xml ) Need Help??


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 (Pope) 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://938712]
help
Chatterbox?
[tye]: disable /proc and then see what it does?
[davido]: then it reads from /etc/passwd to decide who my uid is.
[davido]: sorry, typed that before you asked me to disable proc
[davido]: but you stumped me; don't know how to disable proc.
[tye]: I don't know if you can just dismount, but I thought so.
[davido]: yeah, umount -f isn't powerful enough.
[tye]: probably something in the init subsystem that does the mounting that you could disable and reboot.
davido needs to close laptop to board flight home from yapc.
[davido]: I'll look into it in a few hours probably.

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2017-06-23 20:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (554 votes). Check out past polls.