Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: cwd module

by jplindstrom (Monsignor)
on Apr 10, 2008 at 22:31 UTC ( [id://679582]=note: print w/replies, xml ) Need Help??


in reply to cwd module

May I recommend File::chdir (yes, note the case :), which makes it simple to not just get the current dir, but also to change dir. And restore it later by just doing

local $CWD = $new_dir;.

/J

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-19 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found