diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2005-06-22 21:42:54 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2005-06-22 21:42:54 +0000 |
commit | 0cbee0a449cc4e11ef8db851c20b026c8f9ff45e (patch) | |
tree | b8f64d28537d653564df5df9d38f0c44680e8a51 /pod/perlintern.pod | |
parent | 666e7e7967a0bc59b1f44ec2961661c439aad50c (diff) | |
download | perl-0cbee0a449cc4e11ef8db851c20b026c8f9ff45e.tar.gz |
handle magic in local correctly
the local SV now gets a copy of any container magic, and no value
magic; in the past the whole magic chain was either shared or
moved
p4raw-id: //depot/perl@24942
Diffstat (limited to 'pod/perlintern.pod')
-rw-r--r-- | pod/perlintern.pod | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pod/perlintern.pod b/pod/perlintern.pod index 006c66c219..b4b6ed7577 100644 --- a/pod/perlintern.pod +++ b/pod/perlintern.pod @@ -450,6 +450,24 @@ Found in file doio.c =back +=head1 Magical Functions + +=over 8 + +=item mg_localize + +Copy some of the magic from an existing SV to new localized version of +that SV. Container magic (eg %ENV, $1, tie) gets copied, value magic +doesn't (eg taint, pos). + + void mg_localize(SV* sv, SV* nsv) + +=for hackers +Found in file mg.c + + +=back + =head1 Pad Data Structures =over 8 |