blackjudas has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (hashes)
my $var = 0; $var = @array; for ($i = 0; $i <= $var; $i++) { %hash = ($array[$i] => ""); }
Originally posted as a Categorized Question.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How can I assign the elements in an array to only the key values in a hash?⭐
by ariels (Curate) on Apr 10, 2001 at 11:26 UTC | |
|
Re: How can I assign the elements in an array to only the key values in a hash?⭐
by MeowChow (Vicar) on Mar 31, 2001 at 06:19 UTC | |
by ar0n (Priest) on Mar 31, 2001 at 21:09 UTC | |
|
Re: How can I assign the elements in an array to only the key values in a hash?⭐
by arturo (Vicar) on Mar 30, 2001 at 22:12 UTC | |
|
Re: How can I assign the elements in an array to only the key values in a hash?
by stefp (Vicar) on Mar 31, 2001 at 20:59 UTC | |
by Benedictine Monk (Novice) on Apr 01, 2001 at 08:47 UTC | |
|
Re: How can I assign the elements in an array to only the key values in a hash?
by Madam (Sexton) on Mar 09, 2006 at 08:48 UTC |