Re: Confused about docs for script_files & M::B V 0.280801

[email protected] ("Ken Williams")
Newsgroups perl.module.build
Message-ID <[email protected]>
On Tue, Jul 15, 2008 at 8:21 PM, Ron Savage <[email protected]> wrote:
> Hi Folks
>
> In the docs for Module::Build::API it says, under script_files:
>
> "The default is to install no script files - in other words, there is no
> default location where Module::Build will look for script files to
> install."

Looks like that's a documentation bug that was introduced back in
2004, with revision 5118 in SVN.  I'll fix the docs like so:

--- lib/Module/Build/API.pod	(revision 11537)
+++ lib/Module/Build/API.pod	(working copy)
@@ -683,13 +683,13 @@

 An optional parameter specifying a set of files that should be
 installed as executable Perl scripts when the module is installed.
-May be given as an array reference of the files, or as a hash
-reference whose keys are the files (and whose values will currently be
-ignored).
+May be given as an array reference of the files, as a hash reference
+whose keys are the files (and whose values will currently be ignored),
+as a string giving the name of a directory in which to find scripts,
+or as a string giving the name of a single script file.

-The default is to install no script files - in other words, there is
-no default location where Module::Build will look for script files to
-install.
+The default is to install any scripts found in a F<bin> directory at
+the top level of the distribution.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.