in reply to Perl level control of hash iterators

You can do it in XS and you can also do it by tying the hash, then providing FIRSTKEY and NEXTKEY. This is how, for instance, you can have a sorted hash. Look at Tie::Hash::Sorted (by our own Limbic~Region) for an example.

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
  • Comment on Re: Perl level control of hash iterators

Replies are listed 'Best First'.
Re^2: Perl level control of hash iterators
by Limbic~Region (Chancellor) on Feb 28, 2007 at 13:13 UTC
      Ah, that satisfies my curiosity.

      Thanks