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

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

Thread Previous | Thread Next
From:
Zefram
Date:
September 29, 2011 08:04
Subject:
Re: [perl #100364] exit doesn't match its documentation
Message ID:
20110929150350.GC12382@lake.fysh.org
Nicholas Clark wrote:
>I'm still not sure what 'EXPR' should be replaced with, in the documentation.

That part of the documentation doesn't distinguish between parenthesised
and unparenthesised argument lists, which it would have to to correctly
describe the parsing there.  I think it shouldn't be replaced at all:
it's (mostly) documenting semantics rather than syntax, and the =item
line is a stylised representation of the parameter list rather than a
real exposition of the grammar.  perlop accurately indicates how unary
functions are parsed.

-zefram

Thread Previous | 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