This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
incremental improvement in ~~ documentation, already in maint-5.10
[perl5.git] / lib / overload.pm
index 7e392d7..7790832 100644 (file)
@@ -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>