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

Re: [perl #100364] exit doesn't match its documentation

Thread Previous | Thread Next
David Golden
September 29, 2011 12:47
Re: [perl #100364] exit doesn't match its documentation
Message ID:
On Thu, Sep 29, 2011 at 9:38 AM, Nicholas Clark
<> wrote:
> I'm not sure what 'EXPR' should be replaced with, in the documentation.

While "perldoc -f XXXX" doesn't show it, a full "perldoc perlfunc" has
a lengthy opening section that discusses the issues.

Unfortunately, like much of Perl documentation, it's far to verbose
while still being incomplete. For example, it defines the term "LIST"
but doesn't define any of the other terms except to imply that they
are not in list context.

Possibly, EXPR should be replaced throughout with terms that are
descriptive of use.  E.g. "exit VALUE".  This would be consistent with
the use of "FILEHANDLE", "DIRHANDLE", "VARIABLE", "REF", "BLOCK", etc.

-- David

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About