In perl.git, the branch blead has been updated


- Log -----------------------------------------------------------------
commit e463df90b78a57edd46d5b19a56006b28f5029d6
Author: Aristotle Pagaltzis <>
Date:   Sun Sep 18 11:53:20 2016 +0200

    perlfunc: re-document old split() @_ side effect

Summary of changes:
 pod/perlfunc.pod | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index efd6198..36df5c7 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -7406,6 +7406,8 @@ X<split>
 Splits the string EXPR into a list of strings and returns the
 list in list context, or the size of the list in scalar context.
+(Prior to Perl 5.11, it also overwrote C<@_> with the list in
+void and scalar context. If you target old perls, beware.)
 If only PATTERN is given, EXPR defaults to L<C<$_>|perlvar/$_>.

Perl5 Master Repository

Reply via email to