Help for this page

Select Code to Download


  1. or download this
    open(OUT,">outfile") || die;
    for($i=0;$i<=$#bigfile;$i++){
    ...
      and die "Unable to sort data: $!\n";
    
    print "Done.\n";
    
  2. or download this
    system("/path/to/asort","outfile","clean.data","1 6 8 9")
      and die "Unable to sort data: $!\n";
    
  3. or download this
    open(OUT,">outfile") || die "Unable to open outfile: $!\n";
    foreach (@bigfile) {
    ...
      print OUT "$_";
    }
    close(OUT);