http://www.perlmonks.org?node_id=1012782


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