From: Nicholas Clark Date: Tue, 29 Jun 2004 15:26:34 +0000 (+0000) Subject: Note that sv_2mortal isn't just "increase reference count by 1, and X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=37d2ac1837312847ffa94e41a7233dcd5cd4c1fe;p=p5sagit%2Fp5-mst-13.2.git Note that sv_2mortal isn't just "increase reference count by 1, and mark that it needs a deferred recount" p4raw-id: //depot/perl@23011 --- diff --git a/sv.c b/sv.c index db872e1..4e519a1 100644 --- a/sv.c +++ b/sv.c @@ -7574,7 +7574,9 @@ Perl_sv_newmortal(pTHX) Marks an existing SV as mortal. The SV will be destroyed "soon", either by an explicit call to FREETMPS, or by an implicit call at places such as -statement boundaries. See also C and C. +statement boundaries. SvTEMP() is turned on which means that the SV's +string buffer can be "stolen" if this SV is copied. See also C +and C. =cut */