in reply to Re: combining two csv files by using math operations
in thread combining two csv files by using math operations

I confirm this code works fine. This wisdom will be used in all derivatives of that code. I also see the advantages of using Data::Dump and noted #FIXME comments highlighting. Thank you very much! Any ideas how to trap an empty line at the end of a data file which it may have?
  • Comment on Re^2: combining two csv files by using math operations

Replies are listed 'Best First'.
Re^3: combining two csv files by using math operations
by tybalt89 (Monsignor) on May 16, 2021 at 16:21 UTC

    replace

    my @multi_arrayA; push @multi_arrayA, [split(' ', $_)] for <dataA>;

    with:

    my @multi_arrayA; push @multi_arrayA, [split(' ', $_)] for grep /\S/, +<dataA>;

    in both places, changing A to B in the second one, of course.

      problem solved! Thanks again.