whaled has asked for the wisdom of the Perl Monks concerning the following question:
I am looking how to be able to list the keys on the second hash gate do you know how I might do this. The second loop I would hope to receive "eone", "etwo", "ethree"$drw{dave}{one} = "done"; $drw{dave}{two} = "dtwo"; $drw{dave}{three} = "dthree"; $drw{eileen}{one} = "eone"; $drw{eileen}{two} = "etwo"; $drw{eileen}{three} = "ethree"; foreach $f (keys %drw) { print "f($f)\n"; } # ????? how do I find whats in the second hash key set {} # foreach $f (keys %drw{eileen}) { # print "f($f)\n"; # }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Double Hash Key
by mcogan1966 (Monk) on Jan 15, 2004 at 20:07 UTC | |
|
Re: Double Hash Key
by CountZero (Bishop) on Jan 15, 2004 at 21:45 UTC | |
|
Re: Double Hash Key
by derby (Abbot) on Jan 15, 2004 at 21:09 UTC | |
|
Re: Double Hash Key
by Roy Johnson (Monsignor) on Jan 15, 2004 at 20:26 UTC | |
|
Re: Double Hash Key
by 3dbc (Monk) on Jan 15, 2004 at 21:13 UTC | |
by Roy Johnson (Monsignor) on Jan 15, 2004 at 21:25 UTC | |
by 3dbc (Monk) on Jan 20, 2004 at 00:59 UTC | |
by Roy Johnson (Monsignor) on Jan 20, 2004 at 16:46 UTC | |
by 3dbc (Monk) on Jan 22, 2004 at 16:59 UTC | |
|