develooper Front page | perl.perl5.porters | Postings from November 2005

[DOC PATCH] Sort subs *can* now be recursive

Thread Next
From:
Robin Houston
Date:
November 22, 2005 05:30
Subject:
[DOC PATCH] Sort subs *can* now be recursive
Message ID:
20051122132817.GA20895@rpc142.cs.man.ac.uk
I just noticed this in perlfunc.

Robin


--- pod/perlfunc.pod.orig	2005-11-22 13:07:17.000000000 +0000
+++ pod/perlfunc.pod	2005-11-22 13:13:29.000000000 +0000
@@ -5100,8 +5100,8 @@
 in the latter case, it is usually counter-productive to declare $a and
 $b as lexicals.
 
-In either case, the subroutine may not be recursive.  The values to be
-compared are always passed by reference and should not be modified.
+The values to be compared are always passed by reference and should
+not be modified.
 
 You also cannot exit out of the sort block or subroutine using any of the
 loop control operators described in L<perlsyn> or with C<goto>.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About