On Wed, Feb 09, 2005 at 05:13:56AM -0600, Rod Adams wrote: > > Does > > ($k, $v) <== pop %hash; > or > ($k, $v) <== %hash.pop; > > make sense to anyone except me?
It's clear to me. The only thing is that, right off the top of my head, I can't see where it would be used. Since the order in which the pairs were returned would be effectively random, you can't use this to remove and process a specific element. So, really, the only time it's useful is if you want to process all the elements in the hash--in which case, why not just use C< each >? --Dks -- [EMAIL PROTECTED]