develooper Front page | perl.perl5.porters | Postings from May 2008

Re: on the almost impossibility to write correct XS modules

From:
Rafael Garcia-Suarez
Date:
May 21, 2008 05:56
Subject:
Re: on the almost impossibility to write correct XS modules
2008/5/21 Juerd Waalboer <juerd@convolution.nl>:
> Indeed. I had made BLOB for this, but it can't prevent the upgrades.
>
> Though the thing that upgrades can be made to check ->isa("BLOB"). Would
> that be possible; would that be desirable?

That would be a bit slow, but most strings aren't blessed anyway, so
it's only a matter of checking SvOBJECT in a first step.

However that would of course imply to pull BLOB in the CORE.



Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About