summaryrefslogtreecommitdiff
path: root/pod/perlsyn.pod
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-12-22 15:44:51 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-12-22 15:44:51 +0000
commitccc668fa9b49e415d3bc71997bdc482360964ed7 (patch)
tree2fbb85ec3e71a6815fe136d61dd60f9d67015a69 /pod/perlsyn.pod
parentf2534cb5d7fbcee456ff505c1c5c83af06b380c5 (diff)
downloadperl-ccc668fa9b49e415d3bc71997bdc482360964ed7.tar.gz
The Perl 6 specification is still evolving, so don't refer to it.
p4raw-id: //depot/perl@29613
Diffstat (limited to 'pod/perlsyn.pod')
-rw-r--r--pod/perlsyn.pod13
1 files changed, 3 insertions, 10 deletions
diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod
index 77ac7a9eba..c10d732e90 100644
--- a/pod/perlsyn.pod
+++ b/pod/perlsyn.pod
@@ -731,16 +731,9 @@ would parse the expression
as though the argument to C<given> were an element of the hash
C<%foo>, interpreting the braces as hash-element syntax.
-The table of smart matches is not identical to that proposed
-by the Perl 6 specification Synopsis 4. Some of the differences
-are simply a consequence of Perl 5's different data model, while
-other changes have been made to address problems with the Perl 6
-proposal. For example, the Perl 6 specification implies that
-C<$string ~~ qr/regex/> would test string equality, rather than
-doing a regular expression match. On the other hand, informal
-examples elsewhere make it clear that a regular expression
-match is the intended behaviour. Thus the Synopsis 4 smart
-match specification cannot yet be regarded as definitive.
+The table of smart matches is not identical to that proposed by the
+Perl 6 specification, mainly due to the differences between Perl 6's
+and Perl 5's data models.
In Perl 6, C<when()> will always do an implicit smart match
with its argument, whilst it is convenient in Perl 5 to