summaryrefslogtreecommitdiff
path: root/pod/perlvar.pod
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2005-10-23 11:47:37 +0200
committerDave Mitchell <davem@fdisolutions.com>2006-01-09 02:20:51 +0000
commit09e04a353e352e671b21e072d112d97d0ff3b125 (patch)
treedac808312c07b20041cfec4f6904e8938b74db0b /pod/perlvar.pod
parent77ebfeacf485ddf164803294eee13949ad1cfe79 (diff)
downloadperl-09e04a353e352e671b21e072d112d97d0ff3b125.tar.gz
identifiers always in main (was: defining a _ function breaks File::Find)
Message-Id: <D3867DED-313E-4D39-A85F-1178FE7F7A5E@hashref.com> clarify which variables are always forced into main:: p4raw-id: //depot/perl@26749
Diffstat (limited to 'pod/perlvar.pod')
-rw-r--r--pod/perlvar.pod10
1 files changed, 5 insertions, 5 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod
index dbc82ec2e2..39e5c45721 100644
--- a/pod/perlvar.pod
+++ b/pod/perlvar.pod
@@ -1494,11 +1494,11 @@ control-character name that begins with C<^_> will acquire a special
meaning in any future version of Perl; such names may therefore be
used safely in programs. C<$^_> itself, however, I<is> reserved.
-Perl identifiers that begin with digits, control characters, or
-punctuation characters are exempt from the effects of the C<package>
-declaration and are always forced to be in package C<main>; they are
-also exempt from C<strict 'vars'> errors. A few other names are also
-exempt in these ways:
+Perl identifiers that consist of all digits, or begin with control
+characters, or are a single punctuation character, are exempt from the
+effects of the C<package> declaration and are always forced to be in
+package C<main>; they are also exempt from C<strict 'vars'> errors. A
+few other names are also exempt in these ways:
ENV STDIN
INC STDOUT