Subject: | Test referring to 'perl' instead of $^X |
I found this line in t/10-client.t:
exec 'perl', '-Iblib/lib', '-Ilib', @$cmd or die $!;
This explains why the test complains about missing Danga::Socket even
though Danga::Socket is installed. Because the perl we are testing is
not the first perl in the $PATH.
The proper way to run tests with the right perl is to use $^X or in
complicated cases Probe::Perl.
Best,