Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Missing Hash Keys When Hash Created in Sub

by MidLifeXis (Monsignor)
on Feb 23, 2015 at 21:26 UTC ( [id://1117588]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1117588]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-23 20:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found