Say a distribution has a regular Perl module

     Foo::Bar::Baz

and another Perl module, used by the former, that is a loader:

     Foo::Bar::Baz::XSModule

so we have something like this:

    lib/Foo/Bar/Baz.pm
    lib/Foo/Bar/Baz/XSModule.pm
    lib/Foo/Bar/Baz/XSModule.xs
    Makefile.PL
    MANIFEST
    ...

With that structure make does not compile anything. Makefile.PL has no XS specific stuff right now (I tried to use the XS parameter of WriteMakefile without luck).

Which is the standard way to do that? Where do you put the .xs? What are MODULE and PACKAGE set to?

-- fxn

Reply via email to