In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/0eec0a4c5abd96c5d43a451c26a3318970d87c0e?hp=50fd59617d035069f1af09e538c403b3e05768b3>
- Log ----------------------------------------------------------------- commit 0eec0a4c5abd96c5d43a451c26a3318970d87c0e Author: Zsbán Ambrus <[email protected]> Date: Mon Oct 18 16:22:52 2010 -0700 Add keys(@a) and values(@a) to perldelta since it was missed in 5.12.0 ----------------------------------------------------------------------- Summary of changes: pod/perldelta.pod | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 40658ef..7a9687e 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -121,6 +121,13 @@ C<entersub> op checking have been separated out and exposed in the API. Custom regular expression engines can now determine the return value of C<delete> on an entry of C<%+> or C<%->. +=head2 C<keys>, C<values> work on arrays + +You can now use the C<keys>, C<values>, C<each> builtin functions on arrays +(previously you could only use them on hashes). See L<perlfunc> for details. +This is actually a change introduced in perl 5.12.0, but it was missed from +that release's perldelta. + =head1 Security XXX Any security-related notices go here. In particular, any security -- Perl5 Master Repository
