Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: current working dir is location of script?by zakzebrowski (Curate) |
on Jul 31, 2003 at 11:48 UTC ( [id://279536]=note: print w/replies, xml ) | Need Help?? |
Hi, As I recall, if you do a perldoc on File::Find, it shows that the current directory will change as a file is found (unless expressedly requested otherwise), so you can just do an open($_) on the file name and it will work as expected. (Thus, your supposition is incorrect since you can change the working directory...) Have a good one. ---- Zak Pluralitas non est ponenda sine neccesitate - mysql's philosphy
In Section
Seekers of Perl Wisdom
|
|