in reply to Perl Array Question

Just rephrase your foreach loop like this, and you'll have it:

foreach my $item ( @{$hash{1}} ) { .......

You basically have to dereference the anonymous array ref held in $hash{1}.


Dave