Consult the CookBookA.pod document in this package for more information.
Some of these examples rely on my perlobject.map typemap, which is included in the package and can also be found on CPAN in the same place you found this package.
If you are going to do datatype conversions between C and Perl, which is what XS programming is all about, then you would be doing yourself a favor to install Devel::Peek and to learn how to use its Dump() function. The DevelPeek.pod document in this package is a preliminary manpage/tutorial.
For other examples of extension-building to let Perl manipulate C structures and C++ objects consult the CookBookB package, which is part B of this Extension-Building CookBook series. CookBookB can be found on CPAN in the same place you found this CookBookA package.
Dean Roehrich apr 30,96
To install CookBookA::Ex6, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CookBookA::Ex6
CPAN shell
perl -MCPAN -e shell install CookBookA::Ex6
For more information on module installation, please visit the detailed CPAN module installation guide.