Help for this page

Select Code to Download


  1. or download this
    $dir= shift || '.';
    
    ...
        next if $file=~/^\./;
            open (FH, ">", "$file") or die "Can't open file $file: $!\n";
            my @file_lines=<FH>;
    
  2. or download this
         open (FH, "$dir/$file") ...