On Fri, 20 Feb 2009, Brian Manning wrote:

On Fri, Feb 20, 2009 at 12:41 PM, Dave Rolsky <auta...@urth.org> wrote:
Is anyone really depending on being able to use Class::MOP (and therefore)
Moose with an XS-less install?

I couldn't remember if my Windows install of Moose used an XS module
or not;  I tried this:

OSO# perl -e "use Class::MOP; print Class::MOP::USING_XS . qq(\n);"
Class::MOP::USING_XS

Is that what it's supposed to return?  Grepping the Class::MOP modules
didn't return any code with 'USING_XS' in it, although I see the
checks for Perl 5.10 and environment variable check for no XS in the
MOP.pm module.

That's weird, it does the right thing for me.

Maybe add a () to USING_XS?

I ended up remembering where XS files live on my Windows Perl
distribution, and found the .dll file that was compiled for
Class::MOP.  So going to XS-only for Class::MOP should work on Windows
if that needs to happen.

It'll work on any system that has a compiler.


-dave

/*============================================================
http://VegGuide.org               http://blog.urth.org
Your guide to all that's veg      House Absolute(ly Pointless)
============================================================*/

Reply via email to