#!perl -w #!d:\perl\bin\perl.exe # -- SOAP::Lite -- soaplite.com -- Copyright (C) 2001 Paul Kulchenko -- # that's OO call, so first parameter is scalar (class name) use Inline C => < new (LocalAddr => 'localhost', LocalPort => 81) -> dispatch_to('greet') ; print "Contact to SOAP server at ", $daemon->url, "\n"; $daemon->handle; # you can see the result with: # # % perl SOAPsh.pl http://localhost:81/ # > greet('cruel') #