in reply to Re: how do i store the result from query into hash
in thread how do i store the result from query into hash

Hi

Its simple use a hash of arrays

my %hash; $hash{foo} = [ 1, 2 ]; push @{ $hash{bar} }, 3, 4; print join ' ', @{ $hash{foo } };

Welcome, see The Perl Monks Guide to the Monastery

New questions go in Seekers Of Perl Wisdom, your question will get more attention that way.