From: Xavier Noria Date: Sun, 23 Oct 2005 09:47:37 +0000 (+0200) Subject: identifiers always in main (was: defining a _ function breaks File::Find) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=09e04a353e352e671b21e072d112d97d0ff3b125;p=p5sagit%2Fp5-mst-13.2.git identifiers always in main (was: defining a _ function breaks File::Find) Message-Id: clarify which variables are always forced into main:: p4raw-id: //depot/perl@26749 --- diff --git a/pod/perlvar.pod b/pod/perlvar.pod index dbc82ec..39e5c45 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 reserved. -Perl identifiers that begin with digits, control characters, or -punctuation characters are exempt from the effects of the C -declaration and are always forced to be in package C
; they are -also exempt from C 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 declaration and are always forced to be in +package C
; they are also exempt from C errors. A +few other names are also exempt in these ways: ENV STDIN INC STDOUT