This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
19849d3
)
perldelta: Mention the split/@_ change in Errata
author
Father Chrysostomos
<sprout@cpan.org>
Sun, 27 Mar 2011 23:36:25 +0000
(16:36 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Sun, 27 Mar 2011 23:36:25 +0000
(16:36 -0700)
pod/perldelta.pod
patch
|
blob
|
blame
|
history
diff --git
a/pod/perldelta.pod
b/pod/perldelta.pod
index
4c46160
..
3cbacf3
100644
(file)
--- a/
pod/perldelta.pod
+++ b/
pod/perldelta.pod
@@
-4402,6
+4402,12
@@
You can now use the C<keys>, C<values>, C<each> builtin functions on arrays
This is actually a change introduced in perl 5.12.0, but it was missed from
that release's perldelta.
+=head2 C<split> and C<@_>
+
+C<split> no longer modifies C<@_> when called in scalar or void context.
+In void context it now produces a "Useless use of split" warning.
+This was also a perl 5.12.0 changed which missed the perldelta.
+
=head1 Obituary
Randy Kobes, creator of the kobesearch alternative to search.cpan.org and