Shannon Murdoch wrote:

> >> foreach (sort keys %params) { print "\t$params{$_}" }
> >
> > The same way.  $_ is the key for the hash element in the while loop.
> 
> I want a list of keys, not their values though.

You have it already in your code:

  sort keys %params

is a sorted list of keys in %params hash.

  keys %params

is a list of keys in random order.

- RaFaL Pocztarski, [EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to