Re: catching system "perl ..." in code

2008-12-11 Thread Slaven Rezic
David Cantrell writes: > On Sun, Dec 07, 2008 at 08:49:08PM -0500, David Golden wrote: >> On Sun, Dec 7, 2008 at 7:52 PM, Gabor Szabo wrote: >> > 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::Pe

Re: catching system "perl ..." in code

2008-12-11 Thread Slaven Rezic
Vincent Pit writes: >> 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 >> >> So I wonder if there could be (or if there already is) a CPAN smoker setup >> wher

Re: catching system "perl ..." in code

2008-12-09 Thread David Cantrell
On Sun, Dec 07, 2008 at 08:49:08PM -0500, David Golden wrote: > On Sun, Dec 7, 2008 at 7:52 PM, Gabor Szabo <[EMAIL PROTECTED]> wrote: > > 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 mo

Re: catching system "perl ..." in code

2008-12-09 Thread David Cantrell
On Mon, Dec 08, 2008 at 02:52:56AM +0200, Gabor Szabo 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 > > So I wonder if there could be (or if there alr

Re: catching system "perl ..." in code

2008-12-07 Thread David Golden
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, bu

Re: catching system "perl ..." in code

2008-12-07 Thread Vincent Pit
> 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 > > So I wonder if there could be (or if there already is) a CPAN smoker setup > where the only "perl" in PATH is

catching system "perl ..." in code

2008-12-07 Thread Gabor Szabo
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 So I wonder if there could be (or if there already is) a CPAN smoker setup where the only "perl" in PATH is a fake perl