summaryrefslogtreecommitdiff
path: root/lib/overload.pm
diff options
context:
space:
mode:
authorMoritz Lenz <moritz@faui2k3.org>2013-04-11 15:17:04 +0200
committerJames E Keenan <jkeenan@cpan.org>2013-04-14 08:50:02 +0100
commit45e230de3a5afea9089241a96aa177047bd1dba9 (patch)
tree6ff3029b5265e6e51d932c7c1912eafdb67c3f3a /lib/overload.pm
parent1e62a62d22898e67423faef0019a19171f7c7edb (diff)
downloadperl-45e230de3a5afea9089241a96aa177047bd1dba9.tar.gz
Document that range operator '..' can not be overloaded.
Also document that this means that ranges and bigint.pm do not mix perfectly. Bump version numbers.
Diffstat (limited to 'lib/overload.pm')
-rw-r--r--lib/overload.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/overload.pm b/lib/overload.pm
index ce339cd037..51801d643d 100644
--- a/lib/overload.pm
+++ b/lib/overload.pm
@@ -1,6 +1,6 @@
package overload;
-our $VERSION = '1.21';
+our $VERSION = '1.22';
%ops = (
with_assign => "+ - * / % ** << >> x .",
@@ -1675,6 +1675,10 @@ coincides with the current one.
Barewords are not covered by overloaded string constants.
+=item *
+
+The range operator C<..> cannot be overloaded.
+
=back
=cut