From 343c800693b58170657091a89002f2b7e12f91b9 Mon Sep 17 00:00:00 2001 From: Jan Dubois Date: Mon, 15 Mar 2010 23:28:30 -0700 Subject: Note that forbidding keywords as labels is controversial --- pod/perltodo.pod | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pod/perltodo.pod b/pod/perltodo.pod index d9d0807762..a16cf0d604 100644 --- a/pod/perltodo.pod +++ b/pod/perltodo.pod @@ -927,7 +927,9 @@ 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. +It is controversial if the right way to avoid the confusion is to forbid +labels with keyword names, or if it would be better to always treat +bareword expressions after a "goto" as a label and never as a keyword. =head2 truncate() prototype -- cgit v1.2.1