From 09e04a353e352e671b21e072d112d97d0ff3b125 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sun, 23 Oct 2005 11:47:37 +0200 Subject: [PATCH] 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 --- pod/perlvar.pod | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 2.7.4