Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to current working dir is location of script?

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
  • Comment on Re: current working dir is location of script?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-19 14:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found