in reply to Re^2: Merging Columns from multiple files into a single file
in thread Merging Columns from multiple files into a single file
It looks like your data has a space at the start of each line. If so, try
pojwhile(<$HANDLE>) { chomp; s/^\s+//; # remove leading spaces my ($freq, $data) = split /\s+/, $_, 2; $inputdata->{$freq}->[$filenumber] = $data; }
|
|---|