Help for this page

Select Code to Download


  1. or download this
    binmode(STDOUT);
    for my $file ( @ARGV ) {
        open(FILE,"<$file") or die "Can't read $file: $!\n";
    ...
            print;
        }
    }
    
  2. or download this
    binmode(STDIN);
    my $file;
    while(  defined( $file= <STDIN> )  ) {
    ...
            print FILE $rec;
        }
    }