Help for this page

Select Code to Download


  1. or download this
    my $prev_file_name;
    my $file;
    ...
       #   print $file $new_line;
       #}
    } #end of while loop
    
  2. or download this
    my $MAX_FILES=10; # Max open files we want
    my %files;        # We can keep multiple file handles
    ...
       print $file $new_line."\n"
         or print "data COULDNT be printed to CURRENT_FILE\n";
    } #end of while loop