develooper Front page | perl.perl5.porters | Postings from December 2011

[perl #82788] Config.pod entry for config_argc refers to typoed config variables config_argc1 instead of config_arg1

Thread Next
From:
James E Keenan via RT
Date:
December 8, 2011 17:02
Subject:
[perl #82788] Config.pod entry for config_argc refers to typoed config variables config_argc1 instead of config_arg1
Message ID:
rt-3.6.HEAD-5084-1323392532-949.82788-15-0@perl.org
On Tue Jan 25 08:33:49 2011, b_jonas wrote:

> 
> In lib/Config.pod (which documents all configuration variables), the
> entry for config_argc refers to the config variable "config_argc1"
> which
> does not exist: the correct variable to refer to would be
> "config_arg1".
> Let me quote it.
> 
> 
> =item C<config_argc>
> 
> From F<Options.U>:
> 
> This variable contains the number of command-line arguments
> passed to Configure, as reported by the shell in the $# variable.
> The individual arguments are stored as variables config_argc1,
> config_argc2, etc.
> 
> 
> This documentation is generated, but I don't understand how, so I
> can't
> submit a patch.  Sorry.  The bug is present in at least perl 5.13.9.
> 
> 

Based on my search through a checkout of blead:

* I too believe this is a bug;
* the same erroneous language is present in Porting/Glossary as well;
* Porting/Glossary is also a generated file, so it probably shares the
same source as lib/Config.pod; but
* I, too, cannot locate the source of the generated text.  In
particular, I can't figure out what or where 'Options.U' is, and I don't
find any other 'Options.[upper-case-letter]' mentioned.

Paging all Configure experts!

Thank you very much.
Jim Keenan



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About