Help for this page

Select Code to Download


  1. or download this
    my $dir = shift; # get the first command line arg
    my $path = "/remote/scm/rsync/builds/$arg/FailedInformal";
    ...
    
    # and closing the DIR handle is good
    closedir DIR;
    
  2. or download this
    open FILE, $latest or die "Can't open $latest: $!\n";
    ....
    
  3. or download this
    # presume / as path separator
    my $latest_file = "$path/$latest";
    open FILE, $latest_file or die ...;