my (undef, @col) = split /\s+/, <DATA>; # Column namesWhen splitting on \s+ instead of \t, the first header value, 'Amino Acid Switch Probabiities', will be wrongly split into the @col array. You need to split on tabs to prevent this from happening.
In reply to Re^2: Best way to read in an XbyX table into a Hash{Key}{Key2}[value] structure
by Cristoforo
in thread Best way to read in an XbyX table into a Hash{Key}{Key2}[value] structure
by ZWcarp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |