Skip to content
Browse files

clarify option precedence

  • Loading branch information...
1 parent ef6495d commit 703ff54445c0efbe643b6310ad451b5ee2731ec7 @xdg xdg committed Apr 29, 2010
Showing with 10 additions and 3 deletions.
  1. +10 −3 lib/CPAN/API/BuildPL.pm
View
13 lib/CPAN/API/BuildPL.pm
@@ -82,12 +82,19 @@ A list of actions that *must* be supported follows:
(blah blah configuration blah blah)
-Precedence of configuration:
+During execution of Build.PL or Build, options should have the following
+precedence (from high to low):
* {@ARGV}
* {$ENV{PERL_MB_OPT}}
-* cached configuration from Build.PL
-* configuration file
+* configuration file -- action-specific options
+* cached configuration from Build.PL (only when running Build)
+* configuration file -- wildcard (*)
+*
+
+Conceptually, options should be split on white space and then spliced
+together, with higher-precedence options following lower-precedence
+options. Options should then be processed "in order".
== Command Line Options

0 comments on commit 703ff54

Please sign in to comment.
Something went wrong with that request. Please try again.