use strict; use SOAP::Lite; print SOAP::Lite -> uri('http://localhost/Foo') -> proxy('http://localhost/cgi-bin/xml_soap.cgi') -> foo('baz') -> result ;