Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2016-10-26 08:49 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (337 votes). Check out past polls.