Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
etc. but i want to create a %hash from two arrays (@people, @jobs), and i want @people to old the keys. How can i do this ???my %things = ( "torch" => "red", "banana" => "yellow" );
update (broquaint): title change (was hashes)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: hashes
by broquaint (Abbot) on Dec 03, 2002 at 12:05 UTC | |
|
Re: Populating a hash with two arrays
by pike (Monk) on Dec 03, 2002 at 13:10 UTC | |
|
Re: hashes
by Jaap (Curate) on Dec 03, 2002 at 12:14 UTC | |
by mirod (Canon) on Dec 03, 2002 at 12:54 UTC |