summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tagunov <tagunov@motor.ru>2002-03-12 02:27:47 +0300
committerAbhijit Menon-Sen <ams@wiw.org>2002-03-12 05:38:08 +0000
commit17b63f683fb43fba07a1f7dfb8799f26fab23ec1 (patch)
treea62f239a9691c4c58e525e1253a3dd11f39fa728
parent431fc77363b071b73d76e659fec0af1d30fdb146 (diff)
downloadperl-17b63f683fb43fba07a1f7dfb8799f26fab23ec1.tar.gz
Re[2]: [Patch docs] perlsub. Re: [ID 20020227.012], [ID 20020227.018]
Message-Id: <19414222180.20020311232747@motor.ru> p4raw-id: //depot/perl@15190
-rw-r--r--pod/perlsub.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlsub.pod b/pod/perlsub.pod
index 7933dc2a64..cff3edadfa 100644
--- a/pod/perlsub.pod
+++ b/pod/perlsub.pod
@@ -169,7 +169,7 @@ Do not, however, be tempted to do this:
Like the flattened incoming parameter list, the return list is also
flattened on return. So all you have managed to do here is stored
-everything in C<@a> and made C<@b> an empty list. See
+everything in C<@a> and made C<@b> empty. See
L<Pass by Reference> for alternatives.
A subroutine may be called using an explicit C<&> prefix. The
@@ -727,7 +727,7 @@ table entries:
sub ioqueue {
local (*READER, *WRITER); # not my!
- pipe (READER, WRITER); or die "pipe: $!";
+ pipe (READER, WRITER) or die "pipe: $!";
return (*READER, *WRITER);
}
($head, $tail) = ioqueue();