Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Thanks in advance.@dbmlist = ("height", "weight", "age", "sex"); @people = ("joe", "john", "bill", "larry"); foreach $person(@people) foreach $value(@dbmlist) { dbmopen(%VAL, $value, undef); $$value{$person} = $VAL{$person}; dbmclose(%VAL); } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to avoid a reference?
by davorg (Chancellor) on Aug 07, 2004 at 10:06 UTC | |
by Aristotle (Chancellor) on Aug 07, 2004 at 16:27 UTC | |
by ysth (Canon) on Aug 08, 2004 at 05:30 UTC | |
by tilly (Archbishop) on Aug 08, 2004 at 08:29 UTC |