Help for this page

Select Code to Download


  1. or download this
    while (my $line = <$original_fh>) {
        print "Enter the desired number of columns: ";
            my $nr = <STDIN>;
    ...
        $line =~ s/(\d{2})/$replace[$1]/g;
        print $final_fh $line;
    }
    
  2. or download this
     while (my $line = <$original_fh>) {
        for my $file (@files) {
        print "Enter the desired number of columns: ";
    ...
        print $final_fh $line;
    
      }