in reply to running backwards on a hash
Do you mean something like:
foreach (reverse keys %hash) { }
But, you should note that hashes are unordered so you can never guarantee the order that you'll get the keys back.
--"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: running backwards on a hash
by hotshot (Prior) on Dec 11, 2001 at 14:27 UTC | |
by pixel (Scribe) on Dec 11, 2001 at 14:34 UTC | |
by hotshot (Prior) on Dec 11, 2001 at 14:39 UTC |