> 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 that catches the > cases when something is trying to execute it - a honeypot - that could be > then reported to the author with the hope s/he will fix the module. > > Is someone already doing this? > > regards > Gabor >
I think Slaven talked about doing this. I recently considered doing it as well, but I realized that would break "system 'foo'" where foo is a perl script that may righteously want be interpreted by the default perl in the path, and then I wasn't sure anymore. Vincent.