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

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.

Replies are listed 'Best First'.
Re^4: combining two csv files by using math operations
by ng0177 (Acolyte) on May 16, 2021 at 16:33 UTC
    problem solved! Thanks again.