summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorDaniel Dragan <bulk88@hotmail.com>2013-11-08 05:38:51 -0500
committerFather Chrysostomos <sprout@cpan.org>2013-11-08 13:00:09 -0800
commita731eb084d691f568ce9cedc364aa1782d3d85f5 (patch)
treea347a5e4ad0bd9107d05a25169b63b18541d3b05 /sv.c
parent2186f8734350df0f69b852c67f593773a77590bc (diff)
downloadperl-a731eb084d691f568ce9cedc364aa1782d3d85f5.tar.gz
POD-only mention sv_setsv does get magic but not set magic
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sv.c b/sv.c
index 8ef01c9a9b..c1ea40d25f 100644
--- a/sv.c
+++ b/sv.c
@@ -3662,9 +3662,9 @@ Perl_sv_utf8_decode(pTHX_ SV *const sv)
Copies the contents of the source SV C<ssv> into the destination SV
C<dsv>. The source SV may be destroyed if it is mortal, so don't use this
-function if the source SV needs to be reused. Does not handle 'set' magic.
-Loosely speaking, it performs a copy-by-value, obliterating any previous
-content of the destination.
+function if the source SV needs to be reused. Does not handle 'set' magic on
+destination SV. Calls 'get' magic on source SV. Loosely speaking, it performs a
+copy-by-value, obliterating any previous content of the destination.
You probably want to use one of the assortment of wrappers, such as
C<SvSetSV>, C<SvSetSV_nosteal>, C<SvSetMagicSV> and