Help for this page

Select Code to Download


  1. or download this
      # Get the name of the file and an 
      #  open file handle to the file contents
    ...
      while ($line = <$filename>) {
        print $line;
      }
    
  2. or download this
      # Get the name of the file and an 
      #  open file handle to the file contents
    ...
        print OUTFILE $buffer;
      }
      close $filename;