From: Robin Houston Date: Tue, 22 Nov 2005 13:28:17 +0000 (+0000) Subject: [DOC PATCH] Sort subs *can* now be recursive X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c106e8bbff313f9d3ffd1a9a1b0a6bd6129af87b;p=p5sagit%2Fp5-mst-13.2.git [DOC PATCH] Sort subs *can* now be recursive Message-ID: <20051122132817.GA20895@rpc142.cs.man.ac.uk> p4raw-id: //depot/perl@26194 --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 2ec4e82..1efdefd 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -5100,8 +5100,8 @@ as the package global variables $a and $b (see example below). Note that 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 or with C.