in reply to Nested Data Structure Help
To print out the 2nd element of list_of_successful_jobIDs of class_name you would use the following: print $hash{class_name}{list_of_successful_jobIDs}[1]; Good luck!%hash = ( 'class_name' => { 'list_of_successful_jobIDs' => [ qw(foo bar) ], 'list_of_failed_jobIDs' => [ qw(val1 val2) ], }, );
~~rob
____________________________________________________________
eval pack "h*", "072796e647022245d445f475454494c5e622b3";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Nested Data Structure Help
by Anonymous Monk on Jun 13, 2002 at 12:59 UTC | |
by Abigail-II (Bishop) on Jun 13, 2002 at 13:26 UTC | |
by blink (Scribe) on Jun 13, 2002 at 19:54 UTC | |
by Abigail-II (Bishop) on Jun 14, 2002 at 08:44 UTC |