diff options
Diffstat (limited to 'pod/perltodo.pod')
-rw-r--r-- | pod/perltodo.pod | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pod/perltodo.pod b/pod/perltodo.pod index f270d6b979..8372b3c947 100644 --- a/pod/perltodo.pod +++ b/pod/perltodo.pod @@ -662,6 +662,20 @@ also the warning messages (see L<perllexwarn>, C<warnings.pl>). These tasks would need C knowledge, and knowledge of how the interpreter works, or a willingness to learn. +=head2 lexicals used only once + +This warns: + + $ perl -we '$pie = 42' + Name "main::pie" used only once: possible typo at -e line 1. + +This does not: + + $ perl -we 'my $pie = 42' + +Logically all lexicals used only once should warn, if the user asks for +warnings. + =head2 UTF-8 revamp The handling of Unicode is unclean in many places. For example, the regexp |