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 reply to Re: How to get a file's full path?
by athomason
in thread How to get a file's full path?
by Bog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |