develooper Front page | perl.perl5.porters | Postings from July 2000

Re: How to die($object) from XS?

Thread Previous | Thread Next
Stephen Zander
July 31, 2000 11:15
Re: How to die($object) from XS?
Message ID:
>>>>> "Andy" == Andy Wardley <> writes:
    Andy> Can anyone point me at the right way to die/croak with an
    Andy> object reference from XS?  croak() accepts printf() like
    Andy> parameters and I can't find anything in perlapi, perlguts,
    Andy> perlcall, perlxs or perlxstut to enlighten me as to how I
    Andy> might throw an object reference.

Andreas submitted a patch to allow a NULL format string and a global
variable to provide the sematics you're looking for but I don't think
it went into v5.6.0

AFAIK, you can't get there from here with currently released perls.


"Strange women lying in ponds distributing swords is no basis for a
system of government"

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About