From: Kay Röpke Date: Fri, 19 Oct 2001 14:04:01 +0000 (+0200) Subject: [DOC PATCH lib/ExtUtils/MakeMaker.pm] Discouraging use of PREREQ_FATAL in day-to... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b2340c5389c063ab29f77699c0b379e3bea4fa31;p=p5sagit%2Fp5-mst-13.2.git [DOC PATCH lib/ExtUtils/MakeMaker.pm] Discouraging use of PREREQ_FATAL in day-to-day Makefile.PL's Message-Id: p4raw-id: //depot/perl@12501 --- diff --git a/lib/ExtUtils/MakeMaker.pm b/lib/ExtUtils/MakeMaker.pm index 0f46a4f..ef8bfab 100644 --- a/lib/ExtUtils/MakeMaker.pm +++ b/lib/ExtUtils/MakeMaker.pm @@ -1781,12 +1781,6 @@ branch from that node into lib/, lib/ARCHNAME or whatever Configure decided at the build time of your perl (unless you override one of them, of course). -=item PREREQ_FATAL - -Bool. If this parameter is true, failing to have the prequired modules -(or the right versions thereof) will be fatal. perl Makefile.PL will die -with the proper message. - =item PREREQ_PM Hashref: Names of modules that need to be available to run this @@ -1794,6 +1788,20 @@ extension (e.g. Fcntl for SDBM_File) are the keys of the hash and the desired version is the value. If the required version number is 0, we only check if any version is installed already. +=item PREREQ_FATAL + +Bool. If this parameter is true, failing to have the required modules +(or the right versions thereof) will be fatal. perl Makefile.PL will die +with the proper message. + +Note: see L for a shortcut for stopping tests early if +you are missing dependencies. + +Do I use this parameter for simple requirements, which could be resolved +at a later time, e.g. after an unsuccessful B of your module. + +It is I rare to have to use C at all! + =item SKIP Arrayref. E.g. [qw(name1 name2)] skip (do not write) sections of the