in reply to Re: convert a given dir name to its absolute path
in thread convert a given dir name to its absolute path

I checked the following code on Linux but the output was unfortunatly empty ?!! -------------------------------- use Cwd qw/abs_path/; $abs_path = File::Spec->rel2abs( "../../"); print $abs_path,"\n";
  • Comment on Re^2: convert a given dir name to its absolute path

Replies are listed 'Best First'.
Re^3: convert a given dir name to its absolute path
by azaria (Beadle) on Dec 22, 2005 at 12:56 UTC
    opps I mixed two method. Ignore my mail. I will check this Cwd
      good that works - use Cwd 'fast_abs_path'; print fast_abs_path("../.."); Thanks azaria