Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: Shared hash within shared hash of hash???

by ISAI student (Scribe)
on Jan 02, 2013 at 14:53 UTC ( #1011283=note: print w/replies, xml ) Need Help??


in reply to Re^3: Shared hash within shared hash of hash???
in thread Shared hash within shared hash of hash???

I did, it seems to work. I am however, wary of corner cases, when threads are involved.
  • Comment on Re^4: Shared hash within shared hash of hash???

Replies are listed 'Best First'.
Re^5: Shared hash within shared hash of hash???
by zwon (Abbot) on Jan 03, 2013 at 14:44 UTC
    I did, it seems to work

    That's strange, because for me it didn't work:

    use threads; use threads::shared; my %sa : shared = (); %{$sa{foo}} = (); __END__ Invalid value for shared scalar at share_share.pl line 5.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011283]
help
Chatterbox?
[thezip]: Top o' the day to y'all!

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2016-12-05 21:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (94 votes). Check out past polls.