Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Proper way to thread this in PERL.

by Preceptor (Deacon)
on Dec 25, 2013 at 23:34 UTC ( [id://1068378]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $url_q = Thread::Queue -> new();
    
    ...
        
      }
    }
    
  2. or download this
    for ( 1..$thrCount )
    {
    ...
    }
    
    print "At program completion, total count was ", $totalCount,"\n";
    
  3. or download this
    while ( threads -> list )
    {
    ...
      print $totalCount,"\n";
      sleep 5;
    }
    

Log In?
Username:
Password:

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

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

    No recent polls found