in reply to How to get a file's full path?
Try File::Spec, namely its rel2abs() function:
It's a builtin module (at least in 5.8.7) so installation shouldn't be a concern.$abs_path = File::Spec->rel2abs( $path ) ; $abs_path = File::Spec->rel2abs( $path, $base ) ;
Update:
See also the extended discussion at Absolute pathnames from relative?.
In Section
Seekers of Perl Wisdom