projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3573d64
)
overload.pm: Fix broken link
author
Karl Williamson
<public@khwilliamson.com>
Tue, 26 Apr 2011 17:12:27 +0000
(11:12 -0600)
committer
Karl Williamson
<public@khwilliamson.com>
Wed, 18 May 2011 17:15:04 +0000
(11:15 -0600)
lib/overload.pm
patch
|
blob
|
history
diff --git
a/lib/overload.pm
b/lib/overload.pm
index
3abde68
..
78510e7
100644
(file)
--- a/
lib/overload.pm
+++ b/
lib/overload.pm
@@
-1,6
+1,6
@@
package overload;
-our $VERSION = '1.1
3
';
+our $VERSION = '1.1
4
';
sub nil {}
@@
-519,7
+519,7
@@
This overload was introduced in Perl 5.12.
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>.
+L<perlsyn/
Switch statements
> and L<feature>.
Unusually, the overloaded implementation of the smart match operator
does not get full control of the smart match behaviour.