in reply to Re: working with hashes of arrays
in thread working with hashes of arrays

Could you give me an example? I'm braindead. I thought I could do this with just arrays., but I had to rewrite it. Thanks in advance buddy.

Replies are listed 'Best First'.
Re^3: working with hashes of arrays
by kennethk (Abbot) on Dec 01, 2008 at 23:02 UTC
    my %hash = (1 => 'one', 2 => 'two', 9 => 'nine, ); my $hash_ref = \%hash; my @array = values %hash; print $hash{1}; print $hash_ref->{2}; print $array[3];