in reply to
Adding values from an array to a hash
You can do this:
@locations{@locations} = (1) x scalar @locations
Comment on
Re: Adding values from an array to a hash
Download
Code
In Section
Seekers of Perl Wisdom