X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperltrap.pod;h=02abc3b03b3852526578fb132c30c56fb6e2ee66;hb=ce3f0a3cd6f30cb49f01b7811c2891acb7bab15a;hp=d35abddcba836668a909b9cdbf461de7dbffc1b5;hpb=9bf4ea843f7631689691908b2ccde8f571b18cde;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perltrap.pod b/pod/perltrap.pod index d35abdd..02abc3b 100644 --- a/pod/perltrap.pod +++ b/pod/perltrap.pod @@ -1451,9 +1451,7 @@ Everything else. =over 5 -=item * Unclassified - -C/C trap using returned value +=item * C/C 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 with C. +=item * C 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,