On Sat, Jul 27, 2002 at 09:55:38AM -0700, chromatic wrote:
> > One of the problems I have with using Test::Builder is that I want to
> > distribute packages to systems that do not (necessarily) have a decent version
> > of Test::* installed. Now it is easy to include a copy of a suitable version
> > of Test::Builder with the package (provided it is not too big). Would it be a
> > good idea to add a provision to Test::Builder that can be called, from the
> > Makefile.PL, to display a message like this:
> > 
> >   The verificiation tests for this package require the Test::Builder package
> >   of at least version X.Y. You do not seem to have this installed. I have
> >   included a copy of Test::Builder in this distribution that I can use for
> >   testing. Do you want me to install this version of Test::Builder as well?
> > 
> > This would help spreading the good stuff.

I'm not sure of the context here, but at this point of complexity it's
probably easier to just make it a normal prerequisite.

Why?

o If you're not using a CPAN shell, every module installation involving any
  prerequisites is going to be a chore.  Adding one more to that pile isn't
  really going to make much difference.

o At least for Test::Simple/More/Builder, so many modules already have
  dependencies on them (including CPAN, CPANPLUS and Storable) that you
  probably already have them installed.  There's a slide in the
  Test::Tutorial talk with a list current as of a month ago.

o If you don't already have them installed, you only need to do it once.


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl Quality Assurance      <[EMAIL PROTECTED]>         Kwalitee Is Job One
5. It is always possible to aglutenate multiple separate problems
   into a single complex interdependent solution. In most cases
   this is a bad idea.
    -- RFC 1925

Reply via email to