![]() |
|
go ahead... be a heretic | |
PerlMonks |
Re: Array to Hashby httptech (Chaplain) |
on May 10, 2000 at 20:29 UTC ( #10991=note: print w/replies, xml ) | Need Help?? |
for (@array) { $hash{$_} = 1 } is how I'd do it.
In Section
Seekers of Perl Wisdom
|
|