Hello Nicholas!
AT> -everything in C<@a> and made C<@b> an empty list. See
AT> +everything in C<@a> and made C<@b> an empty array. See
NC> Not sure. I'd like to find a way to phrase that without describing @b as
NC> either "list" or array. It's set to an empty list, but it is an array.
NC> And finding a way of saying that without using either word feels best.
What about
--- pod/perlsub.pod.orig Wed Feb 20 18:02:38 2002
+++ pod/perlsub.pod Mon Mar 11 23:23:43 2002
@@ -169,7 +169,7 @@
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 @@
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();
? :-))
AT> - return (*READER, *WRITER);
AT> + return (*READER{IO}, *WRITER{IO});
AT>
AT> Have I been too bold with adding {IO}?
NC> Not sure. I'm not sure what's going on with the IO, but it's late
Err, still curious, is that any good ?
Regards, Anton