>>>>> "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