Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    open $fh, '<','exists.txt' or die "Not opened: $!\n";
    close $fh;
    print <$fh>;
    
  2. or download this
    readline() on closed filehandle $fh at test.pl line 4.
    readline() on closed filehandle $fh at test.pl line 9.