Acme-Damn
view release on metacpan or search on metacpan
*/
if ( SvREADONLY( sv ) )
/*
** use "%s" rather than just PL_no_modify to satisfy gcc's -Wformat
** see https://rt.cpan.org/Ticket/Display.html?id=45778
*/
croak( "%s" , PL_no_modify );
SvREFCNT_dec( SvSTASH( sv ) ); /* remove the reference to the stash */
SvSTASH( sv ) = NULL;
SvOBJECT_off( sv ); /* unset the object flag */
#if PERL_VERSION < 18
if ( SvTYPE( sv ) != SVt_PVIO ) /* if we don't have an IO stream, we */
PL_sv_objcount--; /* should decrement the object count */
#endif
/* we need to clear the magic flag on the given RV */
SvAMAGIC_off( rv );
/* as of Perl 5.8.0 we need to clear more magic */
SvUNMAGIC( sv );
return rv;
} /* __damn() */
MODULE = Acme::Damn PACKAGE = Acme::Damn
( run in 7.171 seconds using v1.01-cache-2.11-cpan-94b05bcf43c )