summaryrefslogtreecommitdiff
path: root/pod/perldata.pod
diff options
context:
space:
mode:
authorFrank Wiegand <frank.wiegand@gmail.com>2009-06-25 10:21:46 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-06-25 22:48:54 +0200
commit05b4f1ece255de95efcc5a4c74e28b5d04f54401 (patch)
treee32fe9b310ccd8a31883aaa5c2adc0b6a49997ae /pod/perldata.pod
parente63be7465b2d564165a64209685cfd7026a2005b (diff)
downloadperl-05b4f1ece255de95efcc5a4c74e28b5d04f54401.tar.gz
document the maximum length of barewords
(amended by rgs to be in line with perldiag)
Diffstat (limited to 'pod/perldata.pod')
-rw-r--r--pod/perldata.pod7
1 files changed, 5 insertions, 2 deletions
diff --git a/pod/perldata.pod b/pod/perldata.pod
index b26360917a..8f0feb7fed 100644
--- a/pod/perldata.pod
+++ b/pod/perldata.pod
@@ -442,8 +442,11 @@ be treated as if it were a quoted string. These are known as
"barewords". As with filehandles and labels, a bareword that consists
entirely of lowercase letters risks conflict with future reserved
words, and if you use the C<use warnings> pragma or the B<-w> switch,
-Perl will warn you about any
-such words. Some people may wish to outlaw barewords entirely. If you
+Perl will warn you about any such words. Perl limits barewords (like
+identifiers) to about 250 characters. Future versions of Perl are likely
+to eliminate these arbitrary limitations.
+
+Some people may wish to outlaw barewords entirely. If you
say
use strict 'subs';