ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/lib/AnyEvent/Intro.pod
(Generate patch)

Comparing AnyEvent/lib/AnyEvent/Intro.pod (file contents):
Revision 1.29 by root, Mon Nov 29 01:57:19 2010 UTC vs.
Revision 1.30 by root, Mon Nov 29 01:58:29 2010 UTC

286 # do something else here 286 # do something else here
287 287
288 # now wait and fetch the name 288 # now wait and fetch the name
289 my $name = $name_ready->recv; 289 my $name = $name_ready->recv;
290 290
291 undef $wait_for_input; # watche rno longer needed 291 undef $wait_for_input; # watcher no longer needed
292 292
293 print "your name is $name\n"; 293 print "your name is $name\n";
294 294
295You can pass any number of arguments to C<send>, and every subsequent 295You can pass any number of arguments to C<send>, and every subsequent
296call to C<recv> will return them. 296call to C<recv> will return them.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines