Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        chdir $dir or die "$1"; # WTF is $1?
        print "After chdir, cwd is = ", getcwd, "\n";
        }