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


in reply to Access LWP method when using WWW::Salesforce::Simple module

is it possible to access LWP methods directly from my program that [uses WWW::Salesforce::Simple]
No, not without violating encapsulation. WWW::Salesforce::Simple does not expose the underlying SOAP::Lite object.

WWW::Salesforce, however, does through the undocumented getClient method. SOAP::Lite then in turn exposes the LWP::UserAgent object through the useragent accessor, documented in SOAP::Schema.

  • Comment on Re: Access LWP method when using WWW::Salesforce::Simple module