Help for this page

Select Code to Download


  1. or download this
    use Tie::CSV_File;
    tie my @array, "Tie::CSV_File", $filename, WHITESPACE_SEPARATED;
    ...
        # Did you really want to compute 4x a multiplication ?!
    }
    print @good_nums;
    
  2. or download this
    @array = map {[split]} @array;
    # instead of the first two lines of my snippet