i've wrapped a number of C++ libraries for use with perl by writing a thin C 
layer to 'hide' the C++
interface  and then used Inline::C and AUTOWRAP to expose the thin C layer to 
perl.  Inline::C++ was
just to unwieldy to use directly.

i'd like to package these wrappers like a standard perl module for local 
(internal) distribution.
i'm interested in using Module::Build rather than ExtUtils::MakeMaker, although 
i'm not wedded to
Module::Build.

I see no easy recipe to copy in any of the Module::Build man pages for 
Inline::C modules.

the Inline man page includes a recipe for writing a perl module which uses 
Inline::MakeMaker (and
thus depends on ExtUtils::MakeMaker).    but i'm enough of a module newbie 
(ExtUtils::MakeMaker
newbie) to not know how to use it to build the thin C layers i've written that 
my Inline modules
depend on.

my typical wrapper consists of a single 'pm' file which invokes Inline::C to 
AUTOWRAP a shared
library.  the shared library is built from a standard makefile and a handful of 
source files.

thoughts/comments?

/mark

Reply via email to