Gene Mat wrote:
> Hi I trying out a new module. Everything is working execpt I can seem to
> list out a reference hash to an array. How can I print out the contents of
> the array?
>
> I am able to get the all the keys of refrence hash by just using a
>
> foreach tag (keys %$REFHASH) {"print $tag $
If i get it right, ur structure looks like:
my $ref = {
key1 => [qw(v1 v2...)],
key2 => ...
};
one can do.
foreach my $key(keys %$ref) {
print "$key: @{$ref->{$key}}\n";
}
-sharad
-Original Message-
From: Gene Mat [mailto:[EMAIL P