Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Correct pathway to a file

by Anonymous Monk
on Jan 11, 2013 at 02:40 UTC ( #1012782=note: print w/ replies, xml ) Need Help??


in reply to Correct pathway to a file

I want to be able to open any file in any directory without it having to be stored in the same place as my perl script

use absolute paths, use File::Find::Rule , use File::Spec->rel2abs

But I've said all this before


Comment on Re: Correct pathway to a file

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (15)
As of 2014-07-30 14:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (234 votes), past polls