From: Frank Wiegand Date: Thu, 25 Jun 2009 08:21:46 +0000 (+0200) Subject: document the maximum length of barewords X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=05b4f1ece255de95efcc5a4c74e28b5d04f54401;p=p5sagit%2Fp5-mst-13.2.git document the maximum length of barewords (amended by rgs to be in line with perldiag) --- diff --git a/pod/perldata.pod b/pod/perldata.pod index b263609..8f0feb7 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 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';