Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: mod_perl's cwd not the same as the scripts location.

by lestrrat (Deacon)
on Aug 21, 2005 at 02:44 UTC ( [id://485469]=note: print w/replies, xml ) Need Help??


in reply to mod_perl's cwd not the same as the scripts location.

If you just want to do something in the script's current directory, you could use __FILE__

use File::Basename qw(dirname); my $cwd = dirname(__FILE__);

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2024-04-24 15:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found