diff --git a/sv.c b/sv.c index 08c3bf55b5..ede9cbcfcd 100644 --- a/sv.c +++ b/sv.c @@ -9535,17 +9535,18 @@ Perl_sv_dec_nomg(pTHX_ SV *const sv) } STMT_END /* -=for apidoc sv_mortalcopy +=for apidoc sv_mortalcopy +=for apidoc_item sv_mortalcopy_flags -Creates a new SV which is a copy of the original SV (using C). -The new SV is marked as mortal. It will be destroyed "soon", either by an +These each create a new SV which is a copy of the original SV (using +C>). The new SV is marked as mortal. It will be destroyed +"soon", either by an explicit call to C, or by an implicit call at places such as statement boundaries. See also C> and C>. -=for apidoc sv_mortalcopy_flags - -Like C, but the extra C are passed to the -C. +The two forms are identical, except C has an extra +C parameter, the contents of which are passed along to +C>. =cut */