summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pod/perlsub.pod3
1 files changed, 3 insertions, 0 deletions
diff --git a/pod/perlsub.pod b/pod/perlsub.pod
index 027d7bea36..0d9c72915a 100644
--- a/pod/perlsub.pod
+++ b/pod/perlsub.pod
@@ -864,6 +864,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