I'm about to go out of town for the week[end], but I thought I'd address the easy points. ;-)
On Tuesday, February 11, 2003, at 05:25 PM, Randy W. Sims wrote:
Yeah, it would make a good testbed - but I have no access to a win32 system, so I'll have to let you test in that arena.
I agree. Running xsubpp on such a file does nothing but make a copy. The module in question is in libwin32. ( Which, along with Tk, seemed like a good testbed because they contain alot of XS modules. )
The test script is probably going to be the biggest problem with this module because of the number of different OSs and compilers used to build perl, which is why I was really hoping someone might have a better suggestion than my hack. Maybe you could invoke xsubpp on the test module to verify that it produces a non-empty file, then invoke MM to build the test module????Absolutely. I've gotten surprisingly good results in Module::Build with just straightforward system() calls, or at least people haven't submitted bug reports. But it would be cool to abstract this away somewhere.
( It would be nice if there were a module specifically for invoking the compiler & linker. There are quite a few modules I can think of that would benifit from it. )
(I'd also like to fix the "Use of uninitialized value in join or string at /Users/ken/src/modules/ExtUtils-ParseXS/blib/lib/ExtUtils/ParseXS.pm line 798, <File0000> line 14" error before 2.00, but I don't know what's causing it.)I don't recall seeing that message. Do you see it when building a particular module?
I see it when running 'make test' for ExtUtils::ParseXS.
P.S. IRC, I had problems installing this module when you first announced it on P5P due to the version having an underscore in it ( I think it was 1.98_01 at the time ). I don't remember the details now; I didn't spend much time with it then due to the holidays and a general lack of time.Yeah - CPAN.pm won't install a module with underscores, because it considers it a beta version. That's actually the very reason I used the underscores for the first release.
-Ken