summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorChip Salzenberg <chip@pobox.com>2012-07-15 16:20:14 -0700
committerChip Salzenberg <chip@pobox.com>2012-07-15 16:20:14 -0700
commit16e4fcbf9950072fae8d7d2f3f58b77db825ee71 (patch)
tree2c3dc80146f4fcf9b2a96f62f1562ec3972c6123 /pod
parenta3314d5f77f945cb8f418a3f4f09bf8f69bb4c3e (diff)
downloadperl-16e4fcbf9950072fae8d7d2f3f58b77db825ee71.tar.gz
perldelta description of magic flags patch
Diffstat (limited to 'pod')
-rw-r--r--pod/perldelta.pod9
1 files changed, 9 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 7a093b0d0c..a3b48777d8 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -391,6 +391,15 @@ be noted as well.
=item *
+Perl used to implement get magic in a way that would sometimes hide bugs in
+code could call mg_get() too many times on magical values. This hiding of
+errors no longer occurs, so long-standing bugs may become visible now. If
+you see magic-related errors in XS code, check to make sure it, together
+with the Perl API functions it uses, calls mg_get() only once on SvGMAGICAL()
+values.
+
+=item *
+
OP allocation for CVs now uses a slab allocator. This simplifies
memory management for OPs allocated to a CV, so cleaning up after a
compilation error is simpler and safer [perl #111462][perl #112312].