Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    
  2. or download this
    my @DATA=<ORIGFILE>;
    
  3. or download this
    while (my $line=<ORIGFILE>) { # ...
    
  4. or download this
    open my $in, '<', "whatever" or die "can't open `whatever': $!\n";
    open my $out, '>', "whatever" or die "can't open `whatever': $!\n";