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

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

Thread Previous | Thread Next
September 29, 2011 08:04
Re: [perl #100364] exit doesn't match its documentation
Message ID:
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.


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