From: Rafael Garcia-Suarez Date: Mon, 25 May 2009 21:09:33 +0000 (+0200) Subject: Remove now-obsolete note on ~~ overloading working only on the right. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0a690b6aafbb3a93402d261c2a0236aa6c2088aa;p=p5sagit%2Fp5-mst-13.2.git Remove now-obsolete note on ~~ overloading working only on the right. --- diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod index 20ec68e..b4eff36 100644 --- a/pod/perlsyn.pod +++ b/pod/perlsyn.pod @@ -737,9 +737,7 @@ C, 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. 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. 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