Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by ibanix (Hermit)
on Mar 13, 2003 at 00:12 UTC ( [id://242549]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Cwd qw(abs_path);
    print "I am ", abs_path($0), "\n";
    
  2. or download this
    C:\>path_test.pl
    Cannot chdir to \\flash\it\NOC-TO~1\PATH_T~1.PL:No such file or direct
    +ory at \\flash\it\NOC-TO~1\PATH_T~1.PL line 2
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-25 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found