in reply to Hashes do preserve insertion order after all

When you start to delete things you'll see that the ordering quickly breaks and once broken does not return.
  • Comment on Re: Hashes do preserve insertion order after all

Replies are listed 'Best First'.
Re^2: Hashes do preserve insertion order after all
by LanX (Saint) on Aug 05, 2019 at 18:26 UTC
    The OP was explicitly sorting by ref address of the values.

    No matter how many hash entries you delete this order won't change.

    The real problems with this approach were already addressed.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice