Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: how to avoid chdir(directories) ?

by moklevat (Priest)
on Feb 27, 2008 at 14:41 UTC ( #670647=note: print w/replies, xml ) Need Help??


in reply to how to avoid chdir(directories) ?

Can't you simply tell the script where the data file is by opening the file with a full path? Are you expecting some output file to be written to the same directory as the input data? If you need to work with several input files in different directories, you might explore File::Find as a solution.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://670647]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2017-03-29 02:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (343 votes). Check out past polls.