Guildenstern has asked for the wisdom of the Perl Monks concerning the following question:
my %prochash; # sub call to populate hash for (my $i = 0; $i < $prochash{NumProcessors}; $i++) { foreach (keys ($prochash{'Processor$i'})) { print "$_ : ",$prochash{"Processor$i"}->{$_},"\n"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(Ovid) Re: Can't access hash of hashes.
by Ovid (Cardinal) on Sep 07, 2000 at 18:31 UTC | |
by Guildenstern (Deacon) on Sep 07, 2000 at 18:47 UTC | |
by merlyn (Sage) on Sep 07, 2000 at 18:51 UTC | |
by Guildenstern (Deacon) on Sep 07, 2000 at 19:01 UTC | |
by swiftone (Curate) on Sep 07, 2000 at 20:01 UTC | |
by tye (Sage) on Sep 07, 2000 at 19:47 UTC | |
|
(jcwren) RE: Can't access hash of hashes.
by jcwren (Prior) on Sep 07, 2000 at 18:44 UTC | |
|
Re: Can't access hash of hashes.
by swiftone (Curate) on Sep 07, 2000 at 18:43 UTC |