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

Re: Critical sections; In the Perl interpreter

by davido (Cardinal)
on Feb 16, 2017 at 20:25 UTC ( [id://1182166]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Concurrent non-blocking requests (synchronized with a delay)
    Mojo::IOLoop->delay(
    ...
        say $cpan->result->dom->at('title')->text;
      }
    )->wait;
    
  2. or download this
      sub {
        my $delay = shift;
        $ua->get($_ => $delay->begin) for @list_of_urls;
      },
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-20 00:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found