SWIG/Examples/perl/callback/
Implementing C++ callbacks in Perl
This example illustrates how to use directors to implement C++ callbacks.