On Wed, 11 Sep 2002, Marija Silajev wrote:
> Hi,
>
> I create a hash like following:
>
>
> $Data{$KEYS} = { key1 => [@array1],
> key2 => [@array2],
> };
>
>
> with:
> foreach $KEYS ( keys %Data){
> print "Key1 data : @{$Data{$KEYS}{key1}}\n";
> }
>
> I
A second loop:
foreach $KEYS ( keys %Data){
print "Key1 data :\n";
map{ print $_,"\n" } @{$Data{$KEYS}{key1}};
}
José.
-Original Message-
From: Marija Silajev [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 2:43 PM
To: Perl
Subject: printing hash of a has
Marija Silajev wrote:
> Hi,
>
> I create a hash like following:
>
>
> $Data{$KEYS} = { key1 => [@array1],
> key2 => [@array2],
> };
>
>
> with:
> foreach $KEYS ( keys %Data){
> print "Key1 data : @{$Data{$KEYS}{key1}}\n";
> }
>
> I manage to print the w