Update: Sigh. I'm late.use strict; my $head; my %hash; while (<>) { $head = (split)[0]; push @{$hash{$head}}, $_; }
In reply to Re: pushing similar lines into arrays
by jweed
in thread pushing similar lines into arrays
by Phydro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |