http://qs321.pair.com?node_id=11110764


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!

L*

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.