In perl.git, the branch maint-5.20 has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/1d1da1dea7ecc9078643d468e273c56aff4e4078?hp=a06cb16473d91410ef6f8fb349ef984bb935e970>

- Log -----------------------------------------------------------------
commit 1d1da1dea7ecc9078643d468e273c56aff4e4078
Author: Steve Hay <[email protected]>
Date:   Sat Jan 24 15:14:22 2015 +0000

    Add the new perlsub note into perldelta's Known Problems

M       pod/perldelta.pod

commit 1840240dde3eeada6b2efdb2a1f68a332fa72cb2
Author: Steve Hay <[email protected]>
Date:   Sat Jan 24 15:13:42 2015 +0000

    Consistent use of 'Perl' for the language
    
    (Arguably, 'a future version of ...' could instead be referring to 'perl'
    the program, but we already say 'a future version of Perl' in three other
    places in perlsub.)

M       pod/perlsub.pod

commit 78dc4383933df0ec316c36db90adf49cf626edbb
Author: Ricardo Signes <[email protected]>
Date:   Fri Jan 23 21:15:51 2015 -0500

    note that sort can't use a lexsub as its SUBNAME
    
    (cherry picked from commit 354233b3461833b9033fc1a8dd53944e470f82b2)

M       pod/perlsub.pod
-----------------------------------------------------------------------

Summary of changes:
 pod/perldelta.pod | 3 ++-
 pod/perlsub.pod   | 3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 0a4a304..3d3c436 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -443,7 +443,8 @@ platform specific bugs also go here.
 
 =item *
 
-XXX
+It is a known bug that lexical subroutines cannot be used as the C<SUBNAME>
+argument to C<sort>.  This will be fixed in a future version of Perl.
 
 =back
 
diff --git a/pod/perlsub.pod b/pod/perlsub.pod
index 3146037..1ba5186 100644
--- a/pod/perlsub.pod
+++ b/pod/perlsub.pod
@@ -1091,6 +1091,9 @@ any previous C<my sub;> or C<state sub;> declaration.
        baz();          # recursive call
     }
 
+It is a known bug that lexical subroutines cannot be used as the C<SUBNAME>
+argument to C<sort>.  This will be fixed in a future version of Perl.
+
 =head3 C<state sub> vs C<my sub>
 
 What is the difference between "state" subs and "my" subs?  Each time that

--
Perl5 Master Repository

Reply via email to