Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: bug in threads::shared or is it just me?

by BrowserUk (Patriarch)
on Apr 05, 2012 at 16:13 UTC ( [id://963708]=note: print w/replies, xml ) Need Help??


in reply to bug in threads::shared or is it just me?

I confirm the behaviour in 5.10.1 & 5.8.9, and agree it looks like a bug to me.

What you are doing doesn't make a lot of sense to me, and I have difficulty trying to reason about what should be the 'correct behaviour' in that situation, but if the keys make it out of the sub, so should the values.

And as you are just returning a list of values, their origins in a 'locally shared hash' -- which is what doesn't make much sense to me -- shouldn't matter. In the list, they should just be values, regardless of their source.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-03-29 07:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found