rsteinke has asked for the wisdom of the Perl Monks concerning the following question:

I've been looking at tachyon's perl module tutorial, particularly the part about including multiple .pm files in a module distribution. My question is, is it possible to do this with multiple .xs files, or do you need to give some extra information to MakeMaker so it can compile them properly?

Ron Steinke rsteinke@w-link.net
  • Comment on Multiple .xs files in a module distribution

Replies are listed 'Best First'.
Re: Multiple .xs files in a module distribution
by Courage (Parson) on Jul 13, 2002 at 06:54 UTC
    As I understand this situation, usually you need only one xs file which will be a glue between perl and a big set of *.c or *.cpp files.

    As examples of distribution with many *.xs files are libwin32 and Tk (perlTk), so you can use them as examples of how multiple xs are processed. I beleive there is more than one xs file there only because there are many independent distribution pieces.

    Courage, the Cowardly Dog