Comparing Coro/eg/lwp (file contents):
Revision 1.2 by root, Sat Jul 28 01:41:58 2001 UTC vs.
Revision 1.3 by root, Mon Sep 3 02:50:18 2001 UTC
… | |
… | |
15 | |
15 | |
16 | use Coro; |
16 | use Coro; |
17 | use Coro::Event; |
17 | use Coro::Event; |
18 | use LWP::Simple; |
18 | use LWP::Simple; |
19 | |
19 | |
|
|
20 | $SIG{PIPE} = 'IGNORE'; |
|
|
21 | |
20 | async { |
22 | async { |
21 | print "hi\n"; |
23 | print "hi\n"; |
22 | get "http://localhost/"; |
24 | get "http://localhost/"; |
23 | print "ho\n"; |
25 | print "ho\n"; |
24 | |
26 | |
Diff Legend
– |
Removed lines |
+ |
Added lines |
< |
Changed lines |
> |
Changed lines |