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

Re: Retreiving variables from threads

by bageler (Hermit)
on Oct 28, 2005 at 23:25 UTC ( [id://503805]=note: print w/replies, xml ) Need Help??


in reply to Retreiving variables from threads

This code snippet will allow $var to be shared amongst threads:
use threads::shared; my $var :shared;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-24 12:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found