At 19:51 25/10/01 +1000, Shannon Murdoch wrote:
> So I take it there is no way to list all the keys contained in a hash in
> the same order they were entered in, like I can with a normal array?
use Tie::IxHash;
It makes hash functions return elements in insertion order, IIRC.
--
mjx
free love
At 23:26 24/10/01 +1000, Shannon Murdoch wrote:
> What everyone has said so far is ways to list all the VALUES contained
> in a hash array, what I need to do is list all the KEYS contained in the
> hash array-with a tab (\t) between each.
foreach (keys %params) { print "$_\t"; }
should work
--