in reply to Full path to the current file?
File::Spec, File::Basename
use File::Spec; use File::Basename; my $f = '../blah.txt'; my $dir = dirname( File::Spec->rel2abs($f) );
In Section
Seekers of Perl Wisdom