summaryrefslogtreecommitdiff
path: root/lib/overload.pm
diff options
context:
space:
mode:
authorChip Salzenberg <chip@pobox.com>2009-08-20 14:37:01 -0700
committerChip Salzenberg <chip@pobox.com>2009-08-20 14:37:01 -0700
commitb3ed409dee4fd31952bdcb9fa77d0e0c4e4516ab (patch)
tree05e011461289a8e8ed917b6e43e00d537d27c87f /lib/overload.pm
parent04e5ac63d9ec63668adef6a2f488bbfb22cce7a8 (diff)
downloadperl-b3ed409dee4fd31952bdcb9fa77d0e0c4e4516ab.tar.gz
incremental improvement in ~~ documentation, already in maint-5.10
Diffstat (limited to 'lib/overload.pm')
-rw-r--r--lib/overload.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/overload.pm b/lib/overload.pm
index 7e392d72a4..77908328ed 100644
--- a/lib/overload.pm
+++ b/lib/overload.pm
@@ -451,8 +451,9 @@ This overload was introduced in perl 5.12.
=item * I<Matching>
-The key C<"~~"> allows you to override the smart matching used by
-the switch construct. See L<feature>.
+The key C<"~~"> allows you to override the smart matching logic used by
+the C<~~> operator and the switch construct (C<given>/C<when>). See
+L<perlsyn/switch> and L<feature>.
=item * I<Dereferencing>