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

Re^2: Parallel::Iterator to get multiple pages

by McA (Deacon)
on Aug 25, 2013 at 12:11 UTC ( #1050859=note: print w/ replies, xml ) Need Help??


in reply to Re: Parallel::Iterator to get multiple pages
in thread Parallel::Iterator to get multiple pages

Hi poj,

I'm pretty sure your hint is the solution. May I have an annotation: If this hurdle is taken Elwood1 would get problems with his return values.

Wrap return code and return content into an anonymous array.

return ( $index, [ $response->code(), $content ]);

As far as I can see from the man page only one return value is allowed besides the index.

McA


Comment on Re^2: Parallel::Iterator to get multiple pages
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2014-07-28 09:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (193 votes), past polls