On Thu, 10 Feb 2005 08:59:04 -0800, David Storrs <[EMAIL PROTECTED]> wrote:
> 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?
> 
> ... 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 >?

That's true for the PerlHash implementation, but what about
OrderedHash? Or LookupQueue? Still seems like a useful trick.

Ashley

Reply via email to