Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Threads and object access

by djantzen (Priest)
on Dec 11, 2002 at 19:26 UTC ( #219152=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use threads::shared;
    my $HS : shared; # compile time declaration
    $HS = new Something();
    
  2. or download this
    use threads::shared;
    $HS = new Something();
    share($HS);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2023-12-04 22:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (25 votes). Check out past polls.

    Notices?