Hi there,

Thanks for your contribution to CPAN.

> So I would like to add some tests to one of my test files,
> involving something like `perl -c scripts/my_script`, and
> fail if there's an error.

There is a module for this - Test::Script - which can be integrated
into your test suite.
>
> My question is: where under M::B can I get the path to the
> perl under which Build.PL was run?  I could not find this in
> the various documentation pages.

Usually the information is output via CPAN Smokers along with test
output. I think $^X is what you want. I print it  (along with $] which
is the version number) as diagnostic in my test output, for smokers
that might not include that information.

Hope this helps.

Cheers,

Jonathan

Reply via email to