tamaguchi has asked for the wisdom of the Perl Monks concerning the following question:
Could you suggest a general loop to access the ellements of this structure, for example for outprinting?my %hash; my @arr=('first', 'second', 'third'); $hash{'A'}=100; $hash{'B'}=200; $hash{'C'}=[@arr];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Complex hash?
by imp (Priest) on Aug 24, 2006 at 20:23 UTC | |
|
Re: Complex hash?
by jeffa (Bishop) on Aug 24, 2006 at 20:28 UTC | |
by GrandFather (Saint) on Aug 24, 2006 at 20:48 UTC | |
|
Re: Complex hash?
by planetscape (Chancellor) on Aug 25, 2006 at 00:59 UTC | |
|
Re: Complex hash?
by mreece (Friar) on Aug 24, 2006 at 20:34 UTC | |
by tamaguchi (Pilgrim) on Aug 24, 2006 at 22:29 UTC | |
by imp (Priest) on Aug 24, 2006 at 22:36 UTC | |
by perlfan (Parson) on Aug 24, 2006 at 23:38 UTC | |
by GrandFather (Saint) on Aug 25, 2006 at 04:13 UTC |