ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-Fork/Fork.pm
(Generate patch)

Comparing AnyEvent-Fork/Fork.pm (file contents):
Revision 1.33 by root, Sat Apr 6 09:34:11 2013 UTC vs.
Revision 1.34 by root, Sat Apr 6 09:34:53 2013 UTC

591 591
592If you want to execute some code (that isn't in a module) to take over the 592If you want to execute some code (that isn't in a module) to take over the
593process, you should compile a function via C<eval> first, and then call 593process, you should compile a function via C<eval> first, and then call
594it via C<run>. This also gives you access to any arguments passed via the 594it via C<run>. This also gives you access to any arguments passed via the
595C<send_xxx> methods, such as file handles. See the L<use AnyEvent::Fork as 595C<send_xxx> methods, such as file handles. See the L<use AnyEvent::Fork as
596a faster fork+exec> example. 596a faster fork+exec> example to see it in action.
597 597
598Returns the process object for easy chaining of method calls. 598Returns the process object for easy chaining of method calls.
599 599
600=cut 600=cut
601 601

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines