From: Rafael Garcia-Suarez Date: Tue, 21 Jul 2009 08:38:55 +0000 (+0200) Subject: perltodo: forbid labels with keyword names X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dee8984cba45cc99110362dad3c7f88b172a5627;p=p5sagit%2Fp5-mst-13.2.git perltodo: forbid labels with keyword names --- diff --git a/pod/perltodo.pod b/pod/perltodo.pod index c84b51e..ddafb95 100644 --- a/pod/perltodo.pod +++ b/pod/perltodo.pod @@ -804,6 +804,15 @@ also the warning messages (see L, C). These tasks would need C knowledge, and knowledge of how the interpreter works, or a willingness to learn. +=head2 forbid labels with keyword names + +Currently C "computes" the label value: + + $ perl -e 'goto print' + Can't find label 1 at -e line 1. + +It would be nice to forbid labels with keyword names, to avoid confusion. + =head2 error reporting of [$a ; $b] Using C<;> inside brackets is a syntax error, and we don't propose to change