Help for this page

Select Code to Download


  1. or download this
    $file = "New Text Document.txt";
    open (FILE, $file) or die "$!\n";
    
  2. or download this
    $file = "New Text Document.txt";
    open my $fh, $file
        or die "Couldn't open '$file': $!\n";