in reply to
hash array
Please use
<code>
tags around your code.
And regarding your problem:
@keys = keys %hash
will put all keys from hash in the array. Duplicated entries are there possibly because in your hash you have key the same as value.
Comment on
Re: hash array
Select
or
Download
Code
In Section
Seekers of Perl Wisdom