Just another Perl shrine | |
PerlMonks |
Re: A little fun with hashesby ehdonhon (Curate) |
on Aug 16, 2002 at 22:00 UTC ( [id://190761]=note: print w/replies, xml ) | Need Help?? |
If you run this in a loop, you'll eventually get to a point where all the values are non-keys. But this solution assumes you are not interested in the recursion. It also assumes you want to process every key in the hash and not just "0".
In Section
Seekers of Perl Wisdom
|
|