Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Threads, magic?

4 views
Skip to first unread message

Relipuj

unread,
Oct 20, 2006, 8:15:18 AM10/20/06
to perl6-l...@perl.org
How does one do this:

http://www.davidnaylor.co.uk/archives/2006/10/19/threaded-data-collection-with-python-including-examples/

in perl 6? Assumin get_feed_list, get_feed_contents, parse_feed, and
store_feed_items are handled by modules like LWP and XML::Parser.

Will there be something native and magic like:
@feeds = threaditize ( Paralelize => &fetch_feeds, Parameters => @urls,
Thread_Limit => 20, Timeout => "5 sec");
with @urls being a list of urls, or a list of lists (each sublist would
contain the parameters for &fetch_feeds).


-- Relipuj,
just curious.

0 new messages