Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Things you need to know before programming Perl ithreads

by Zaxo (Archbishop)
on Aug 31, 2003 at 17:06 UTC ( [id://288039]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use threads();
    
    {
    ...
    foo is quux
    main: coderef = CODE(0x8060674)
    foo is bar
    
  2. or download this
    use threads();
    use threads::shared;
    {
    ...
    foo is quux
    main: coderef = CODE(0x80fe448)
    foo is quux
    
  3. or download this
    $ perl thrcl.pl
    Invalid CODE attribute: shared at thrcl.pl line 5
    BEGIN failed--compilation aborted at thrcl.pl line 5.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2024-04-19 11:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found