in reply to Re: Nested Data Structure Help
in thread Nested Data Structure Help

Almost. Or, I'm doing somthing wrong. Here's what I'm doing to test the contents of each of the arrays:
foreach my $key1 ( keys %masterClassHash ) { print "The class is $key1\n"; foreach my $key2(keys %{$masterClassHash{$key1}}) { print "\tstatus = $key2\n"; foreach (@{$masterClassHash{$key1}{$key2}}) { print "\t\tjobids = @_\n"; } } }

This only yields one jobid per array, when multiple definitely exist.

Thanks, everyone, for your help.

Replies are listed 'Best First'.
Re: Nested Data Structure Help
by Abigail-II (Bishop) on Jun 14, 2002 at 08:44 UTC
    You are printing @_, but the loop variable is $_.

    Abigail