From: Perl 5 Porters Date: Fri, 22 Mar 1996 04:52:41 +0000 (+0000) Subject: Add warning about calling sv_setsv on temp SVs X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1faa3dee5e3a2f365ca0794827258b8e740b939a;p=p5sagit%2Fp5-mst-13.2.git Add warning about calling sv_setsv on temp SVs --- diff --git a/pod/perlguts.pod b/pod/perlguts.pod index 5e8f077..07509bc 100644 --- a/pod/perlguts.pod +++ b/pod/perlguts.pod @@ -2008,6 +2008,9 @@ Note that C copies the pointer while this copies the string. =item sv_setsv Copies the contents of the source SV C into the destination SV C. +(B If C has the C bit set, C may simply steal +the string from C and give it to C, leaving C empty. +Caveat caller.) void sv_setsv _((SV* dsv, SV* ssv));