On Tue, 2003-10-28 at 11:24, Anuradha Ratnaweera wrote: > > As far as I know, there is no "native" way of calling C/C++ libraries > from within Perl 5. When C/C++ API involves structures, the > corresponding Perl binding uses hashes, and an intermediate step > converts the hash to a structure, and call the C program with the > converted structure. An example of an elegent system which does this is > in gtk2-perl (http://gtk2-perl.sourceforge.net). Muppet, please correct > me if I am wrong here.
Just another quick, and possibly dumb, question: Is XS the standard way of binding Perl to a C/C++ library? Anuradha -- http://www.linux.lk/~anuradha/