in reply to Re: Missing Hash Keys When Hash Created in Sub
in thread Missing Hash Keys When Hash Created in Sub

It appears from the commentary that the OP understands the behavior of duplicate keys in a hash. The behavior that is being seen is that the first and last key appear (at least when I run it) to disappear.

--MidLifeXis

  • Comment on Re^2: Missing Hash Keys When Hash Created in Sub

Replies are listed 'Best First'.
Re^3: Missing Hash Keys When Hash Created in Sub
by GotToBTru (Prior) on Feb 23, 2015 at 21:31 UTC

    I get the exact same (correct) results running in 5.8.8 for aix and 5.20.1 for Windows.

    Dum Spiro Spero

      See my other post for more details.

      --MidLifeXis

      It looks like a bug in the version (5.8.5) that I'm running. Thanks for checking!
Re^3: Missing Hash Keys When Hash Created in Sub
by Anonymous Monk on Feb 23, 2015 at 21:27 UTC
    This is correct.