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

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

Thread Previous | Thread Next
From:
Stephen Zander
Date:
July 31, 2000 11:15
Subject:
Re: How to die($object) from XS?
Message ID:
87wvi25pvs.fsf@rabbit.fire-swamp.net
>>>>> "Andy" == Andy Wardley <abw@cre.canon.co.uk> 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.

-- 
Stephen

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

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About