Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 ( [id://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?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-25 18:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found