Help for this page

Select Code to Download


  1. or download this
    use strict;
    use Cwd 'abs_path';
    ...
    print "$realpathfor\n";
    
  2. or download this
    pwd -P
    
  3. or download this
    
    #!perl
    ...
    my $newdirnow = getcwd();
    print "Cwd now thinks I am in $newdirnow\n";