Help for this page
my %hash; ... push @{$hash{$vars[2]}},@vars[0,1,3]; } close DATA;
$hash{somevalue}[0] = the first value (your $var1) $hash{somevalue}[1] = the second value (your $var3) $hash{somevalue}[2] = the third value (your $var4)