Re: Array to Hash
by
httptech
on
May 10, 2000 at 20:29 UTC
(
replies
)
http://qs321.pair.com?node_id=10991
in reply to
Array to Hash
for (@array) { $hash{$_} = 1 }
is how I'd do it.
In Section
Seekers of Perl Wisdom