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

Comparing AnyEvent-Fork/README (file contents):
Revision 1.11 by root, Thu Nov 10 16:31:03 2016 UTC vs.
Revision 1.12 by root, Wed Jan 26 16:44:16 2022 UTC

459 The path to the perl interpreter is divined using various methods - 459 The path to the perl interpreter is divined using various methods -
460 first $^X is investigated to see if the path ends with something 460 first $^X is investigated to see if the path ends with something
461 that looks as if it were the perl interpreter. Failing this, the 461 that looks as if it were the perl interpreter. Failing this, the
462 module falls back to using $Config::Config{perlpath}. 462 module falls back to using $Config::Config{perlpath}.
463 463
464 The path to perl can also be overriden by setting the global 464 The path to perl can also be overridden by setting the global
465 variable $AnyEvent::Fork::PERL - it's value will be used for all 465 variable $AnyEvent::Fork::PERL - it's value will be used for all
466 subsequent invocations. 466 subsequent invocations.
467 467
468 $pid = $proc->pid 468 $pid = $proc->pid
469 Returns the process id of the process *iff it is a direct child of 469 Returns the process id of the process *iff it is a direct child of
478 calling this method, and possibly creating a child watcher or reap 478 calling this method, and possibly creating a child watcher or reap
479 it manually. 479 it manually.
480 480
481 $proc = $proc->eval ($perlcode, @args) 481 $proc = $proc->eval ($perlcode, @args)
482 Evaluates the given $perlcode as ... Perl code, while setting @_ to 482 Evaluates the given $perlcode as ... Perl code, while setting @_ to
483 the strings specified by @args, in the "main" package. 483 the strings specified by @args, in the "main" package (so you can
484 access the args using $_[0] and so on, but not using implicit "shit"
485 as the latter works on @ARGV).
484 486
485 This call is meant to do any custom initialisation that might be 487 This call is meant to do any custom initialisation that might be
486 required (for example, the "require" method uses it). It's not 488 required (for example, the "require" method uses it). It's not
487 supposed to be used to completely take over the process, use "run" 489 supposed to be used to completely take over the process, use "run"
488 for that. 490 for that.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines