Sisyphus <[EMAIL PROTECTED]> writes: > >How does it get done in perl-space ?
For variables $foo you can't as $foo has its own SV and it isn't sv_yes. For args to things something like !!$foo should work unless optimizer clobbers !! > >It seems that overload.pm does it reliably, though I can't see where and >how it achieves it. There doesn't appear to be any shared object >associated with the overload module, so I take it that >PL_sv_yes/no/undef is being assigned from perl-space. > >Cheers, >Rob