Change 17814 by [EMAIL PROTECTED] on 2002/08/30 12:23:33

        Subject: [PATCH] perlmod.pod nit
        From: Autrijus Tang <[EMAIL PROTECTED]>
        Date: Thu, 29 Aug 2002 03:49:34 +0800
        Message-ID: <[EMAIL PROTECTED]>

Affected files ...

.... //depot/perl/pod/perlmod.pod#29 edit

Differences ...

==== //depot/perl/pod/perlmod.pod#29 (text) ====
Index: perl/pod/perlmod.pod
--- perl/pod/perlmod.pod#28~17135~      Sun Jun  9 08:44:37 2002
+++ perl/pod/perlmod.pod        Fri Aug 30 05:23:33 2002
@@ -61,7 +61,8 @@
 Variables beginning with underscore used to be forced into package
 main, but we decided it was more useful for package writers to be able
 to use leading underscore to indicate private variables and method names.
-$_ is still global though.  See also
+However, variables and functions named with a single C<_>, such as
+$_ and C<sub _>, are still forced into the package C<main>.  See also
 L<perlvar/"Technical Note on the Syntax of Variable Names">.
 
 C<eval>ed strings are compiled in the package in which the eval() was
End of Patch.

Reply via email to