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; }
In reply to Re^3: Merging Columns from multiple files into a single file
by poj
in thread Merging Columns from multiple files into a single file
by ikhan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |