In perl.git, the branch smartmatch has been updated <http://perl5.git.perl.org/perl.git/commitdiff/329802ba974fc09df2d12cae487624062c657883?hp=f008545ed2e0f4f26c47d5aeae3cb2d48594990c>
- Log ----------------------------------------------------------------- commit 329802ba974fc09df2d12cae487624062c657883 Author: Rafael Garcia-Suarez <[email protected]> Date: Tue May 5 09:46:06 2009 +0200 Clarify that @a ~~ @b recursively smart matches ----------------------------------------------------------------------- Summary of changes: pod/perlsyn.pod | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod index 102f38e..8b44850 100644 --- a/pod/perlsyn.pod +++ b/pod/perlsyn.pod @@ -708,8 +708,8 @@ entries apply in those cases. 1 - empty hashes or arrays will match. - 2 - that is, each element matches the element of same index in the other - array. [3] + 2 - that is, each element smart-matches the element of same index in the + other array. [3] 3 - If a circular reference is found, we fall back to referential equality. 4 - a range is written EXPR..EXPR (using the C<..> range operator, but NOT the three-dot version C<...>, which will be treated as a boolean -- Perl5 Master Repository
