Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    print for <$fh>;
    
    close $fh
    
  2. or download this
    0
    1
    2
    3
    4
    
  3. or download this
    ...
    use IO::File;
    
    my $fh = IO::File->new_tmpfile or die $!;
    ...