summaryrefslogtreecommitdiff
path: root/lib/overload.pm
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-02-10 14:22:02 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-02-10 14:25:18 -0800
commitdc04e1e9e5625cc5319a68130165b381dfd4c6fa (patch)
tree74f3a4da827b0144fa2dab132a3544a93c025aee /lib/overload.pm
parentc378af320498199f011ee6aca32cef036936dd36 (diff)
downloadperl-dc04e1e9e5625cc5319a68130165b381dfd4c6fa.tar.gz
Revert "The relation between overloading and ties has been fixed."
This reverts commit c378af320498199f011ee6aca32cef036936dd36. Other parts of the document still refer to this. More edits are fifthcoming.
Diffstat (limited to 'lib/overload.pm')
-rw-r--r--lib/overload.pm13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/overload.pm b/lib/overload.pm
index 9a2c4c594c..c538177265 100644
--- a/lib/overload.pm
+++ b/lib/overload.pm
@@ -1678,6 +1678,19 @@ from two overloaded packages.
=item *
+Relation between overloading and tie()ing is broken. Overloading is
+triggered or not basing on the I<previous> class of tie()d value.
+
+This happens because the presence of overloading is checked too early,
+before any tie()d access is attempted. If the FETCH()ed class of the
+tie()d value does not change, a simple workaround is to access the value
+immediately after tie()ing, so that after this call the I<previous> class
+coincides with the current one.
+
+B<Needed:> a way to fix this without a speed penalty.
+
+=item *
+
Barewords are not covered by overloaded string constants.
=back