summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pod/perltrap.pod12
1 files changed, 9 insertions, 3 deletions
diff --git a/pod/perltrap.pod b/pod/perltrap.pod
index d35abddcba..02abc3b03b 100644
--- a/pod/perltrap.pod
+++ b/pod/perltrap.pod
@@ -1451,9 +1451,7 @@ Everything else.
=over 5
-=item * Unclassified
-
-C<require>/C<do> trap using returned value
+=item * C<require>/C<do> trap using returned value
If the file doit.pl has:
@@ -1474,6 +1472,14 @@ Running doit.pl gives the following:
Same behavior if you replace C<do> with C<require>.
+=item * C<split> on empty string with LIMIT specified
+
+ $string = '';
+ @list = split(/foo/, $string, 2)
+
+Perl4 returns a one element list containing the empty string but Perl5
+returns an empty list.
+
=back
As always, if any of these are ever officially declared as bugs,