Nick Ing-Simmons wrote:
> Stas Bekman <[EMAIL PROTECTED]> writes:
>
>>Hi Michael,
>>
>>As discussed at OSC I'm sending a heads-up on XS, C and H, MM
>>attributes, which currently do nothing but create the corresponding
>>*_FILES targets in Makefile, used in the cleanup. Would be great if the
>>XS attribute would actually allow supporting of more than one .xs file
>>in each directory.
>
>
> Multiple .xs files in a directory used to at least sort-of-work.
> The problem was that you needed a custom BOOT: {} section in at
> least one to load the others.
The problem is before the loading. How do you write Makefile.PL so it'll
create the right rules for Makefile to do all the xs2c conversion. I
know that you need to override some My:: methods, but this is a big
kludge as I couldn't find any module doing that (which is how I usually
learn about MM untold magic) and the docs weren't tell me :(
So I thought that the XS attribute is the perfect fit for doing the work
for you. You provide a hash in the form .xs => .c and voila Makemaker
does the right thing.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com