-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Cantrell wrote:
> http://www.nntp.perl.org/group/perl.cpan.testers/2007/02/msg420854.html
> 
> http://www.nntp.perl.org/group/perl.cpan.testers/2007/02/msg422771.html
>
For the record, this would seem to be an @INC ordering problem,
although I'm not sure why
Module::Build->find_module_by_name("Test::Builder") gets a different
version than "use Test::Builder;" does.

I'm considering changing my Build.PL to bail out early in this case:

  if ( (! ($builder->prereq_failures &&
           $builder->prereq_failures->{requires}->{"Test::Simple"})) &&
       (`$^X -MTest::Builder -e 'print "ok" if
Test::Builder->can("create");'`
        !~ m/ok/) ) {
      die <<"MESSAGE";

ERROR IN PREREQUISITES blah blah

MESSAGE
  }

What do you think?

- --
<< Tout n'y est pas parfait, mais on y honore certainement les
jardiniers >>

            Dominique Quatravaux <[EMAIL PROTECTED]>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBReQFz/TYH7KfeIIFAQKdwwP/Q28sZKJ9bQdN1pI30qrT+6U1DrBaD6CU
C2ideA2u9TXllgNhCxkAw0tbIVuSN6LUGJTnTM8+c5OV4sjvsFeDq+sYeIDrVKRz
AwjTN4HXIkbnDKPQEY6PA6kOg7RKXM9qim2lhgXOJXxvTdXK+zyZhi5vauVcJBFn
uUv7OwEhrDI=
=b0VE
-----END PGP SIGNATURE-----


Reply via email to