This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Clarifications to the perldelta notes on smart match
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 24 Jun 2009 21:39:11 +0000 (23:39 +0200)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 24 Jun 2009 21:39:11 +0000 (23:39 +0200)
(pointed out by Damian)

pod/perl5110delta.pod

index 4167592..7b42a42 100644 (file)
@@ -100,7 +100,9 @@ and possibly with stringification overloading; the other common cases
 will be automatically handled consistently.
 
 C<~~> will now refuse to work on objects that do not overload it (in order
-to avoid relying on the object's underlying structure).
+to avoid relying on the object's underlying structure). (However, if the
+object overloads the stringification or the numification operators, and
+if overload fallback is active, it will be used instead, as usual.)
 
 =head1 Core Enhancements