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 30, 2011 23:26
Subject:
Re: [perl #100364] exit doesn't match its documentation
Message ID:
20111001062600.GN5839@lake.fysh.org
Eric Brine wrote:
>Sorry if I wasn't clear, but you missed my point. I was saying that your
>syntaxes don't allow for C<exit(1,2)>, which is allowed.

No, it's not:

$ perl -lwe 'exit(1,2)'
Too many arguments for exit at -e line 1, near "2)
"
Execution of -e aborted due to compilation errors.

-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