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

Re: Reading file from other directory

by Discipulus (Abbot)
on Dec 30, 2019 at 12:00 UTC ( #11110764=note: print w/replies, xml ) Need Help??

in reply to Reading file from other directory

Hello sara1612 and welcome to the monastery and to wonderful world of Perl!

Remember to show always what are you trying before asking (so short) questions: clear questions and runnable code get best answers is on of our mottos.

Generally to read from file in other than current directory you need to specify a full path or a relative, correct one: see Cwd and File::Spec

Show us more to get more help back!


There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2021-03-04 13:20 GMT
Find Nodes?
    Voting Booth?
    My favorite kind of desktop background is:

    Results (104 votes). Check out past polls.