diff options
author | Audrey Tang <cpan@audreyt.org> | 2002-08-29 11:49:34 +0800 |
---|---|---|
committer | hv <hv@crypt.org> | 2002-08-30 12:23:33 +0000 |
commit | b58b0d99c5cadbcc64c7b9e5da6a96109ff5dea7 (patch) | |
tree | b6dbb966cab7bd1c1ff310389357cd69ef5ae23f /pod/perlmod.pod | |
parent | f3b1e556f90ba28c4d3b1af517ecc7796a3da259 (diff) | |
download | perl-b58b0d99c5cadbcc64c7b9e5da6a96109ff5dea7.tar.gz |
perlmod.pod nit
Message-ID: <20020828194934.GA12244@not.autrijus.org>
p4raw-id: //depot/perl@17814
Diffstat (limited to 'pod/perlmod.pod')
-rw-r--r-- | pod/perlmod.pod | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pod/perlmod.pod b/pod/perlmod.pod index d3b087caad..ddcbe47e14 100644 --- a/pod/perlmod.pod +++ b/pod/perlmod.pod @@ -61,7 +61,8 @@ as a pattern match, a substitution, or a transliteration. 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 |