On Sun, Dec 7, 2008 at 7:52 PM, Gabor Szabo <[EMAIL PROTECTED]> wrote:

> When calling out to perl doing system "perl ..."  is incorrect first of
> all because the current perl might not be the one in PATH.
>
> It is better to use $^X or to use Probe::Perl
>

Generally, I think that $^X is safe, but on some older Perls or on some
oddball systems, Probe::Perl may be more reliable.

I keep using Probe::Perl in part because if it ever turns out that either
one is broken somewhere, Probe::Perl can be fixed and $^X for a given Perl
version 5.X.Y can't be.

-- David

Reply via email to