• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

author/H03-May-2022-1815

example/H03-May-2022-2015

lib/FurlX/H03-May-2022-14747

t/H03-May-2022-2011

xt/H03-May-2022-3627

.dim.plH A D13-Apr-2013131 64

.gitignoreH A D13-Apr-2013373 4645

Build.PLH A D13-Apr-20131.4 KiB5138

ChangesH A D13-Apr-2013373 1711

LICENSEH A D13-Apr-201318 KiB380292

MANIFESTH A D13-Apr-2013279 2323

META.jsonH A D13-Apr-20132.1 KiB8685

META.ymlH A D13-Apr-20131.1 KiB5150

README.mdH A D13-Apr-20131.2 KiB6339

cpanfileH A D13-Apr-2013388 2216

README.md

1# NAME
2
3FurlX::Coro - Multiple HTTP requests with Coro
4
5# VERSION
6
7This document describes FurlX::Coro version 1.01.
8
9# SYNOPSIS
10
11    use strict;
12    use warnings;
13    use Coro;
14    use FurlX::Coro;
15
16    my @coros;
17    foreach my $url(@ARGV) {
18        push @coros, async {
19            print "fetching $url\n";
20            my $ua  = FurlX::Coro->new();
21            $ua->env_proxy();
22            my $res = $ua->head($url);
23            printf "%s: %s\n", $url, $res->status_line();
24        }
25    }
26
27    $_->join for @coros;
28
29# DESCRIPTION
30
31This is a wrapper to `Furl` for asynchronous HTTP requests with `Coro`.
32
33# INTERFACE
34
35Interface is the same as `Furl`.
36
37# DEPENDENCIES
38
39Perl 5.8.1 or later.
40
41# BUGS
42
43All complex software has bugs lurking in it, and this module is no
44exception. If you find a bug please either email me, or add the bug
45to cpan-RT.
46
47# SEE ALSO
48
49[Furl](http://search.cpan.org/perldoc?Furl)
50
51[Coro](http://search.cpan.org/perldoc?Coro)
52
53# AUTHOR
54
55Fuji, Goro (gfx) <gfuji@cpan.org>
56
57# LICENSE AND COPYRIGHT
58
59Copyright (c) 2011, Fuji, Goro (gfx). All rights reserved.
60
61This library is free software; you can redistribute it and/or modify
62it under the same terms as Perl itself.
63