This is probably a multi-part question. Background: we have a native (C ++) library, which is part of our application, and we managed to use SWIG to create a Perl wrapper for this library. Now we would like to distribute this perl module as part of our application.
My first question is how should I distribute this module? Is there a standard way for perl batch modules? I know there is ppm for the ActiveState distribution, but I also need to distribute this for Linux systems. Iβm not even sure which files are needed for distribution, but I assume that these are pm and so are the files, at least.
My next question is it looks like I might need to create my module project for every perl version I want to support. How do I know for which perl versions I should build? Are there any standard guidelines ... or better yet, a way to create a package that will work with multiple versions of perl?
Sorry if my questions don't make sense - I'm pretty new to compiled modular aspects of perl.
CLARIFICATION: The main compiled source is patented (closed source), so I canβt just send the source code and the corresponding artifacts for the package. I would like, but in this case this will not happen. Thus, I need a reasonable scheme for packing ready-made binaries for my module.
source share