http://www.perlmonks.org?node_id=922559


in reply to Re^2: SOAP::Lite server - returning non-SOAP values in sub
in thread SOAP::Lite server - returning non-SOAP values in sub

Its called a subclass, also, a serializer

one way with Autoloading

->dispatch_to('MyModule::SOAPIFY'); ... package MyModule::SOAPIFY; @ISA = qw[ MyModule ]; sub thisMethodNeedsSpecificWrapping { ... } sub AUTOLOAD { ... GenericWrapper... }