On Wed, Jul 2, 2008 at 8:59 PM, Tony Cook <[EMAIL PROTECTED]> wrote:
> Going by that logic I'd need to look in $Config{installsitebin},
> $Config{installvendorbin} etc, since $^X could be in installvendorbin,
> while most CPAN installed binaries are likely to be in installsitebin.
>
> Unfortunately this doesn't help in a test environment, since testers
> don't install the binaries in any of those locations.

But testers could -- perhaps arguably should.  (This is a great
example of how CPAN Testers "coverage" statistics aren't always
meaningful.)  IMHO, testers should be trying to provoke reasonable
failures caused by faulty assumptions. (As, distinct from provoking
failures on intentionally broken systems.)

Given the possibilities, it seems like the sort of thing that should
be wrapped up in a module.  (If it isn't already.)

Hey, David Cantrell -- how about Devel::CheckBin to go along in the
series with Devel::CheckLib and Devel::CheckOS?  :-)

David

Reply via email to