Help for this page

Select Code to Download


  1. or download this
    open(OLD,'<','large_file.txt') or die "$!";#open old file
    my @old_file_contents = <OLD>;
    ...
         print NEW $line; #print line to new file
    }
    close(NEW);
    
  2. or download this
    $s =~ tr/\t/ /;