in reply to Re: How to get a file's full path?
in thread How to get a file's full path?

Try File::Spec, namely its rel2abs() function:
It's not a function, it's a class method. If you want a function — and I can understand that, try File::Spec::Functions (also standard) instead.
use File::Spec::Functions qw(rel2abs); $abs_path = rel2abs( $path );