|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re: 1 line array to hash converterby davorg (Chancellor) |
| on Sep 21, 2001 at 14:48 UTC ( [id://113886]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
If you only need to populate the keys of the hash, then @hash{@array} = ();will work. The values will all be undef. --<http://www.dave.org.uk> "The first rule of Perl club is you don't talk about Perl club."
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||