On Fri, Aug 15, 2014 at 08:21:05PM +0200, Slaven Rezic wrote: > you can see in @INC that the system perl is used (/etc/perl is listed > here, which is only in Debian's perl; in FreeBSD's system perl you would > see a directory with a "BSDPAN" component). Probably you should use $^X > instead of "perl" in your test suite
That would make a nice addition to a smoker setup -- make the 'perl' returned by `which perl` actually be a simple script that printed a noisy message like: "You tried to run the perl in $PATH, which is not guaranteed to be the same perl that is running right now! you should use $^X instead!" ..which would find all distributions that used the wrong perl in their tests. (I'll add this to my list of "dream smoker configs", along with things like "non-writable /tmp, with $TMPDIR set to something else" and "non-writable $HOME".)