in reply to Re: Current Directory
in thread Current Directory

Could I manipulate that going on directory UP instead?

Replies are listed 'Best First'.
Re^3: Current Directory
by davidrw (Prior) on Sep 14, 2005 at 14:11 UTC
    "UP"? do you mean universal path (i.e. absolute path)? if so, then yes, just convert the directory that $0 is in to a absolute path first:
    use File::Basename; use Cwd 'abs_path'; my $curr_dir = dirname(abs_path dirname($0)) . '/';