summaryrefslogtreecommitdiff
path: root/pod/perlfunc.pod
diff options
context:
space:
mode:
authorMichael Stevens <mstevens@etla.org>2001-03-15 20:01:12 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-03-16 02:53:32 +0000
commitcea6626fc5e04af2c1d079dd4d3784eb2c21174b (patch)
tree90eadfaeaab2755554409cb8b6cc868e4054fcef /pod/perlfunc.pod
parent8722d079bea855032e83d28746a234953bd00d85 (diff)
downloadperl-cea6626fc5e04af2c1d079dd4d3784eb2c21174b.tar.gz
the uncontroversial doc patches
Message-ID: <20010315200112.A7636@firedrake.org> p4raw-id: //depot/perl@9175
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r--pod/perlfunc.pod7
1 files changed, 4 insertions, 3 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 725b50ecd1..db582653b4 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -2118,7 +2118,7 @@ integer overflow trigger a warning.
There is no builtin C<import> function. It is just an ordinary
method (subroutine) defined (or inherited) by modules that wish to export
names to another module. The C<use> function calls the C<import> method
-for the package used. See also L</use()>, L<perlmod>, and L<Exporter>.
+for the package used. See also L</use>, L<perlmod>, and L<Exporter>.
=item index STR,SUBSTR,POSITION
@@ -2337,7 +2337,8 @@ success, false otherwise.
=item listen SOCKET,QUEUESIZE
Does the same thing that the listen system call does. Returns true if
-it succeeded, false otherwise. See the example in L<perlipc/"Sockets: Client/Server Communication">.
+it succeeded, false otherwise. See the example in
+L<perlipc/"Sockets: Client/Server Communication">.
=item local EXPR
@@ -2491,7 +2492,7 @@ such as using a unary C<+> to give perl some help:
%hash = map { ("\L$_", 1) } @array # this also works
%hash = map { lc($_), 1 } @array # as does this.
%hash = map +( lc($_), 1 ), @array # this is EXPR and works!
-
+
%hash = map ( lc($_), 1 ), @array # evaluates to (1, @array)
or to force an anon hash constructor use C<+{>