in reply to Re: Unable to release modulino to CPAN - still struggling
in thread Unable to release modulino to CPAN
The second [problem] is how to test any solution on my machine.
If I understand you correctly, the thing you want to test is "if there is another perl earlier on the path than the one I am being built with, it has not been called". So mimic that scenario:
% cat t/perl #!/bin/bash echo "Wrong perl" exit 1 % perl -E 'say "ok"' ok % PATH=`pwd`/t:$PATH \ perl -E 'say "ok"' Wrong perl % PATH=`pwd`/t:$PATH \ /usr/bin/perl -E 'say "ok"' ok %
You could also have the wrong-perl script touch a file, in case something invokes it and ignores both its output and its exit code.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Unable to release modulino to CPAN - still struggling
by davies (Monsignor) on Oct 31, 2022 at 20:09 UTC | |
by hv (Prior) on Oct 31, 2022 at 20:38 UTC |