Paul Moore <[EMAIL PROTECTED]> writes:
>From: Nick Ing-Simmons [mailto:[EMAIL PROTECTED]]
>> 
>> What is un-trivial about the @ISA setting?
>[...]
>> 
>> BOOT:
>>  {
>>   AV *isa = perl_get_av("ClassName::ISA",1);
>>   av_push(isa,newSVpv("BaseClass")); 
>>  } 
>
>Obviously nothing :-) I wasn't aware of the BOOT directive...
>
>As I say, this is all a bit speculative at  the moment - I was mainly
>interested in *if* doing this in the XS was possible. 

In general XS code is C code, and perl core is written in C so _anything_
is possible in XS code - even things you cannot do in perl ;-)

>I may still stick with
>the pm - it's just a matter of how much I can autogenerate easily, and how
>much turns into cut and paste coding...

When it comes to cut-and-paste coding you can usually do that very easily 
on the perl side - without the cut and paste - by just massaging things 
in perl.

-- 
Nick Ing-Simmons

Reply via email to