summaryrefslogtreecommitdiff
path: root/pod/perlfunc.pod
diff options
context:
space:
mode:
authorStephen P. Potter <spp@ds.net>2000-11-06 13:56:43 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2000-11-07 00:12:54 +0000
commit13a2d996abe42696bc5ca08abf08030d440c6148 (patch)
tree1919c2c419a4d5a14d2cbb83e40e7f0fe6abaddf /pod/perlfunc.pod
parent9e29e5ff005da001be364f21377fa2a6364952d5 (diff)
downloadperl-13a2d996abe42696bc5ca08abf08030d440c6148.tar.gz
Pod updates
Message-Id: <200011062357.SAA18173@spotter.yi.org> p4raw-id: //depot/perl@7585
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r--pod/perlfunc.pod10
1 files changed, 5 insertions, 5 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index c502bf7b39..558ae4edd1 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -91,7 +91,7 @@ functions, like some keywords and named operators)
arranged by category. Some functions appear in more
than one place.
-=over
+=over 4
=item Functions for SCALARs or strings
@@ -2348,8 +2348,8 @@ it succeeded, false otherwise. See the example in L<perlipc/"Sockets: Client/Se
=item local EXPR
You really probably want to be using C<my> instead, because C<local> isn't
-what most people think of as "local". See L<perlsub/"Private Variables
-via my()"> for details.
+what most people think of as "local". See
+L<perlsub/"Private Variables via my()"> for details.
A local modifies the listed variables to be local to the enclosing
block, file, or eval. If more than one value is listed, the list must
@@ -4265,9 +4265,9 @@ Examples:
If you're using strict, you I<must not> declare $a
and $b as lexicals. They are package globals. That means
if you're in the C<main> package and type
-
+
@articles = sort {$b <=> $a} @files;
-
+
then C<$a> and C<$b> are C<$main::a> and C<$main::b> (or C<$::a> and C<$::b>),
but if you're in the C<FooPack> package, it's the same as typing