go ahead... be a heretic | |
PerlMonks |
Re: Proper handling of shebang line while performing local testing?by Anonymous Monk |
on Sep 19, 2018 at 17:46 UTC ( [id://1222661]=note: print w/replies, xml ) | Need Help?? |
Run your tests using the correct Perl. The normal invocation is prove -lr t/, but if you're using Dist::Zilla you can just do dzil test. Your post implies that your tests are running your included shell script though, which indicates they are executing it wrong. Your tests must use $^X as the perl executable so they run using the Perl being installed to.
In Section
Seekers of Perl Wisdom
|
|