In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/bd67d4df63b2baa15e39654ecc5a07f823e70fbf?hp=54f7170d626da3cbbd288fe2b7c7dbb547cb80e8>
- Log ----------------------------------------------------------------- commit bd67d4df63b2baa15e39654ecc5a07f823e70fbf Merge: 9a8a815... 54f7170... Author: Rafael Garcia-Suarez <[email protected]> Date: Wed May 27 10:47:22 2009 +0200 Merge branch 'blead' of camel:/gitroot/perl into blead commit 9a8a8154e760831a634ef0df130347674ea26459 Merge: 5a33caf... 9339819... Author: Rafael Garcia-Suarez <[email protected]> Date: Tue May 26 18:26:40 2009 +0200 Merge branch 'blead' of camel:/gitroot/perl into blead commit 5a33cafb3e9fc5707648ad1389fba19eefaf2247 Merge: 9091a61... 4f187fc... Author: Rafael Garcia-Suarez <[email protected]> Date: Tue May 26 17:41:43 2009 +0200 Merge branch 'blead' of camel:/gitroot/perl into blead commit 9091a618773bfbb9dc94067f69bea900a2c09c1d Author: Rafael Garcia-Suarez <[email protected]> Date: Tue May 26 14:57:22 2009 +0200 A couple of nits in the ~~ perldelta entry (Thanks to Ricardo) M pod/perl5110delta.pod ----------------------------------------------------------------------- Summary of changes: pod/perl5110delta.pod | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pod/perl5110delta.pod b/pod/perl5110delta.pod index 69e1ba2..54292e0 100644 --- a/pod/perl5110delta.pod +++ b/pod/perl5110delta.pod @@ -56,7 +56,7 @@ choose to ignore it). =item * C<%hash ~~ sub {}> and C<@array ~~ sub {}> now test that the subroutine -returns a true value for each key of the hash (resp. element of the +returns a true value for each key of the hash (or element of the array), instead of passing the whole hash or array as a reference to the subroutine. @@ -85,7 +85,7 @@ when an object overloading C<~~> appears on the right side of the operator, the overload routine will always be called (with a 3rd argument set to a true value, see L<overload>.) However, when the object will appear on the left, the overload routine will be called only when the -rightmost argument is a scalar. This way distributivity of smart match +rightmost argument is a simple scalar. This way distributivity of smart match across arrays is not broken, as well as the other behaviours with complex types (coderefs, hashes, regexes). Thus, writers of overloading routines for smart match need to worry only with comparing against a scalar, and -- Perl5 Master Repository
