summaryrefslogtreecommitdiff
path: root/pod/perlsyn.pod
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-05-25 23:09:33 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-05-25 23:09:33 +0200
commit0a690b6aafbb3a93402d261c2a0236aa6c2088aa (patch)
tree40581d8e1b7ef4b957161550546c4548a6272522 /pod/perlsyn.pod
parent751caec9e63fc638aac7e9bb9e6c7dd0835947f7 (diff)
downloadperl-0a690b6aafbb3a93402d261c2a0236aa6c2088aa.tar.gz
Remove now-obsolete note on ~~ overloading working only on the right.
Diffstat (limited to 'pod/perlsyn.pod')
-rw-r--r--pod/perlsyn.pod4
1 files changed, 1 insertions, 3 deletions
diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod
index 20ec68e02b..b4eff36e2c 100644
--- a/pod/perlsyn.pod
+++ b/pod/perlsyn.pod
@@ -737,9 +737,7 @@ C<grep>, the smart match operator will short-circuit whenever it can.
You can change the way that an object is matched by overloading
the C<~~> operator. This trumps the usual smart match semantics.
-See L<overload>. Since smart matching dispatch is driven by the
-right hand side argument, overloading applies only when the object
-is on the right of C<~~>.
+See L<overload>.
It should be noted that C<~~> will refuse to work on objects that
don't overload it (in order to avoid relying on the object's