Help for this page

Select Code to Download


  1. or download this
    my $dir = "start";
    foreach my $file (@files) {
    ...
            print $_;
        }
    }
    
  2. or download this
    use Cwd;
    my $thisdir = getcwd;
    print "Content-type: text/html\n\n";
    print "Current directory = $thisdir\n";