Help for this page

Select Code to Download


  1. or download this
    open (FILE, "$file") || die "Error unable to open $file: $!\n";
    
  2. or download this
    my @array = <FILE>; close FILE;
    
  3. or download this
    open (WRITE, ">$file") || die "Error: Unable to open $file: $!\n";
    
    ...
    }
    
    close WRITE;