in reply to How do I print an array of hashes containing an array
If you just want to print the contents of the arrayref (and the contents of that array are all simple data types), you only need to deref it:
print join(', ', @{$lookup[0]{'TRAPS'}->{'TRAP_LIST'}})."\n";
If you want to print the entire contents of a deep structure, check out Data::Dumper.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How do I print an array of hashes containing an array
by Anonymous Monk on Feb 18, 2003 at 16:02 UTC | |
by newrisedesigns (Curate) on Feb 18, 2003 at 17:00 UTC | |
by Anonymous Monk on Feb 18, 2003 at 17:35 UTC |