in reply to convert a given dir name to its absolute path
Take a look at File::Spec, the rel2abs method:
$abs_path = File::Spec->rel2abs( "../../etc" ) ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: convert a given dir name to its absolute path
by azaria (Beadle) on Dec 22, 2005 at 12:10 UTC | |
by xdg (Monsignor) on Dec 22, 2005 at 13:59 UTC | |
by tirwhan (Abbot) on Dec 22, 2005 at 12:45 UTC |