This directory contains some examples for Perl5.

All of these examples have been compiled and successfully tested with
Perl5.003. In order to use these, you may need to edit the file
'Makefile.template' in the top-level directory so that it can find
your Perl5 header files and libraries.   There are sometimes
compilation problems with building both C and C++ Perl extensions. 
See the file 'TROUBLESHOOTING' for more details

simple   - The simple example from the user manual.

except   - Shows how you can turn C++ exceptions into Perl exceptions.

tree     - Binary search trees in Perl5.

SWIGtoXS - Shows how pointers can be passed between
           an xsubpp generated wrapper and a SWIG generated
           wrapper.

c++      - An example showing how to create a C++ module for Perl.

shadow   - A experimental example showing how to use Perl5 shadow classes

defarg   - Use default arguments with C/C++ functions

multinherit - Wrapping of C++ multiple inheritance

typemaps - Examples using SWIG's typemap mechanism.

Note :

Most of the examples have been set up to build as either a dynamically
loadable module or as new version of the Perl interpreter.  To build a
dynamic version, type 'make'.  To build a static version, type 'make
static'.  When building a static version, an executable 'myperl' will
be created.  This should be used for running the examples.



