Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Best practices - absolute paths?

by Eyck (Priest)
on Aug 13, 2005 at 11:32 UTC ( [id://483524]=note: print w/replies, xml ) Need Help??


in reply to Re: Best practices - absolute paths?
in thread Best practices - absolute paths?

What is wrong/dangerous about chdir'ing?

Replies are listed 'Best First'.
Re^3: Best practices - absolute paths?
by Joost (Canon) on Aug 13, 2005 at 11:38 UTC
      Isn't this the whole point of relative paths anyway?
      chdir("some.dir"); open(F,"file");

      All is well, unless of course something changes my CWD between chdir and open.

      If you want to walk different directories, well, you gotta put your seperate codepaths on seperate processess, not threads.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-19 17:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found