in reply to Re: Re: arrays or hashesin thread arrays or hashes
my %data; while (<FILE>) { my ($name, $val) = split /\s+/; push @{ $data{$name} }, $val; } [download]