prefer polymorphism on existing destructor over custom destructor method
ran "beautify-file" make target over perl5.cxx patch hunks and rewrote callback and extend examples in the style of existing examples