Mandor has asked for the wisdom of the Perl Monks concerning the following question:
The problem with this is that perl puts out this :$tophash{$value1}{$value2} = [$a, $b, $c, $d]; foreach $key (sort keys %tophash) { $value1 = $key; print "$value1"; foreach $subkey (sort keys %{$tophash{$value1}}) { $value2 = $subkey; foreach $subsubkey (sort %{$tophash{$value}{$value2}} ) { print "$subsubkey"; } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 1: Accessing deeply burried arrays of hashes
by tilly (Archbishop) on Jan 25, 2001 at 04:12 UTC | |
|
Re: Accessing deeply burried arrays of hashes
by arturo (Vicar) on Jan 25, 2001 at 03:58 UTC | |
by merlyn (Sage) on Jan 25, 2001 at 04:05 UTC | |
|
Re: Accessing deeply burried arrays of hashes
by Trinary (Pilgrim) on Jan 25, 2001 at 04:02 UTC | |
by merlyn (Sage) on Jan 25, 2001 at 04:07 UTC | |
|
Re: Accessing deeply burried arrays of hashes
by ryddler (Monk) on Jan 25, 2001 at 04:11 UTC | |
by tilly (Archbishop) on Jan 25, 2001 at 07:00 UTC |