… | |
… | |
703 | |
703 | |
704 | =item $proc = $proc->eval ($perlcode, @args) |
704 | =item $proc = $proc->eval ($perlcode, @args) |
705 | |
705 | |
706 | Evaluates the given C<$perlcode> as ... Perl code, while setting C<@_> |
706 | Evaluates the given C<$perlcode> as ... Perl code, while setting C<@_> |
707 | to the strings specified by C<@args>, in the "main" package (so you can |
707 | to the strings specified by C<@args>, in the "main" package (so you can |
708 | access the args using C<$_[0]> and so on, but not using implicit C<shit> |
708 | access the args using C<$_[0]> and so on, but not using implicit C<shift> |
709 | as the latter works on C<@ARGV>). |
709 | as the latter works on C<@ARGV>). |
710 | |
710 | |
711 | This call is meant to do any custom initialisation that might be required |
711 | This call is meant to do any custom initialisation that might be required |
712 | (for example, the C<require> method uses it). It's not supposed to be used |
712 | (for example, the C<require> method uses it). It's not supposed to be used |
713 | to completely take over the process, use C<run> for that. |
713 | to completely take over the process, use C<run> for that. |