>> Forbid labels with keyword names > > Interesting. This "broke" one of my CPAN modules. Wonder how many > others it will affect? Why? I've always considered the fact that you can generally use keywords as other things in Perl to be a good thing. $ perl -le 'goto: $x++ > 3 and die 1; print $x; goto goto' 1 goto must have label at -e line 1. $ perl -le 'goto: $x++ > 3 and die 1; print $x; goto "goto"' 1 2 3 4 1 at -e line 1. it's already a synbtax error when it makes no sense. What's the harm? -- "It wasn't worth it." -- Harry PatchThread Previous | Thread Next