Help for this page

Select Code to Download


  1. or download this
    while (<REIN>) {
        chomp();
    ...
        close $RAUS;
    } 
    close(REIN)
    
  2. or download this
    while (<$REIN>) {
        my $out_file_name = "out_file_nr_[$.]"; # $. is the line number on
    + the last read file handle
    ...
        close $RAUS;
    } 
    close(REIN)