diff options
author | Robin Houston <robin@cpan.org> | 2005-12-17 20:44:31 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-12-19 16:26:15 +0000 |
commit | 0d863452f5cac86322a90184dc68dbf446006ed7 (patch) | |
tree | a6b225c0f732e2062a2c430a359c1c1db88fa36c /lib/overload.pm | |
parent | 4f5010f268a8de0d9ea78da367041150ef2777f4 (diff) | |
download | perl-0d863452f5cac86322a90184dc68dbf446006ed7.tar.gz |
latest switch/say/~~
Message-Id: <20051217204431.GB28940@rpc142.cs.man.ac.uk>
p4raw-id: //depot/perl@26400
Diffstat (limited to 'lib/overload.pm')
-rw-r--r-- | lib/overload.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/overload.pm b/lib/overload.pm index b189044846..8a07efec69 100644 --- a/lib/overload.pm +++ b/lib/overload.pm @@ -422,7 +422,7 @@ The dereference operators must be specified explicitly they will not be passed t =item * I<Special> - "nomethod", "fallback", "=", + "nomethod", "fallback", "=", "~~", see L<SPECIAL SYMBOLS FOR C<use overload>>. @@ -517,6 +517,11 @@ The key C<"fallback"> governs what to do if a method for a particular operation is not found. Three different cases are possible depending on the value of C<"fallback">: +=head2 Smart Match + +The key C<"~~"> allows you to override the smart matching used by +the switch construct. See L<feature>. + =over 16 =item * C<undef> |