sv.c
/*
=for apidoc sv_newmortal

Creates a new null SV which is mortal.  The reference count of the SV is
set to 1.  It 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<sv_mortalcopy> and C<sv_2mortal>.

=cut
*/
for apidoc sv_newmortal
Creates a new null SV which is mortal.  The reference count of the SV is
set to 1.  It 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.

cut
for apidoc sv_newmortal Creates a new null SV which is mortal . The reference count of the SV is set to 1 . It 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 . cut
SV *
Perl_sv_newmortal(pTHX)
{
    dVAR;
    register SV *sv;
    new_SV(sv);
    SvFLAGS(sv) = SVs_TEMP;
    PUSH_EXTEND_MORTAL__SV_C(sv);
    return sv;
}
SV * Perl_sv_newmortal ( pTHX ) { dVAR ; register SV * sv ; new_SV ( sv ) ; SvFLAGS ( sv ) = SVs_TEMP ; PUSH_EXTEND_MORTAL__SV_C ( sv ) ; return sv ; }
for apidoc sv_newmortal
Creates a new null SV which is mortal.
for apidoc sv_newmortal Creates a new null SV which is mortal .