Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
        $fh->close;
    }
    close INPUT;
    
  2. or download this
    {
      local *STDIN;
    ...
      print <>;
      close(STDIN);
    }
    
  3. or download this
    my @lines = (
        'a string with numbers and letters 4678',
    ...
    }
    close INPUT;
    unlink 'tmpfile';