diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2009-05-25 23:09:33 +0200 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2009-05-25 23:09:33 +0200 |
commit | 0a690b6aafbb3a93402d261c2a0236aa6c2088aa (patch) | |
tree | 40581d8e1b7ef4b957161550546c4548a6272522 /pod/perlsyn.pod | |
parent | 751caec9e63fc638aac7e9bb9e6c7dd0835947f7 (diff) | |
download | perl-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.pod | 4 |
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 |