in reply to (jeffa) Re: SOAP autodispatch question
in thread SOAP autodispatch question
This is indeed what I would consider the "best" approach under a "use strict" environment. I'm working on a book right now that uses SOAP::Lite a lot, and my approach has essentially been to document +autodispatch, then explain why it shouldn't be used for anything longer than 5-10 lines. I much prefer the clarity that dispatch_from maintains, particularly in that a person taking an initial glance at the source code is less likely to expect to find "HelloWorld" later in the script.
And this is all before any issues of explicit data-encoding, namespace-association, or methods with characters not legal in Perl subroutine names, comes up :-).
--rjray
|
|---|