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

Re: [PATCH] Make goto into a construct an error

Thread Previous | Thread Next
From:
Zefram
Date:
January 7, 2011 13:00
Subject:
Re: [PATCH] Make goto into a construct an error
Message ID:
20110107210007.GE26338@lake.fysh.org
Gerard Goossen wrote:
>The patch makes goto into a construct into an error, as this
>is not supported by the codegeneation step.

Not applying this, because we're not using the codegen patch for the
time being.

If we did want to make inward goto fatal, the patch would have to
include appropriate edits to pod/perldiag.pod.  Specifically, we'd
want to remove <Use of "goto" to jump into a construct is deprecated>
and add an entry for <Can't "goto" into a construct>.  And *not* add
to the grandfather list in t/porting/diag.t that is labelled "PLEASE DO
NOT ADD TO THIS LIST".

-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