swig/swig — pull request #106 by talby- (2013-11-16 20:02:28+00:00)
Title: Perl5 directors minimal

This work is a fairly straight adaptation of the Python director handlers to Perl5. The only areas that did not carry over with simple translation were the exceptions and destructors. Exceptions should function similarly to Python, Perl simply has a different error api. The only real design decision for this work was in providing a mechanism to differentiate a director destructor call from the other implicit and explicit DESTROY() invocations, for this we send the destructor a flag. See Perl5.html#Perl5_nn50 (in the patched docs) for details.