Change 26749 by [EMAIL PROTECTED] on 2006/01/09 02:20:51

        Subject:  [PATCH] identifiers always in main (was: defining a _ 
function breaks File::Find)
        From:  Xavier Noria <[EMAIL PROTECTED]>
        Date:  Sun, 23 Oct 2005 09:47:37 +0200
        Message-Id:  <[EMAIL PROTECTED]>
        
        clarify which variables are always forced into main::

Affected files ...

... //depot/perl/pod/perlvar.pod#146 edit

Differences ...

==== //depot/perl/pod/perlvar.pod#146 (text) ====
Index: perl/pod/perlvar.pod
--- perl/pod/perlvar.pod#145~25780~     2005-10-17 03:16:30.000000000 -0700
+++ perl/pod/perlvar.pod        2006-01-08 18:20:51.000000000 -0800
@@ -1494,11 +1494,11 @@
 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
End of Patch.

Reply via email to