From 05b4f1ece255de95efcc5a4c74e28b5d04f54401 Mon Sep 17 00:00:00 2001 From: Frank Wiegand Date: Thu, 25 Jun 2009 10:21:46 +0200 Subject: [PATCH] document the maximum length of barewords (amended by rgs to be in line with perldiag) --- pod/perldata.pod | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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'; -- 2.7.4