#!perl -w #!d:\perl\bin\perl.exe eval { require SOAP::Transport::HTTP::Daemon::ForkOnAccept } or die < new (LocalAddr => 'localhost', LocalPort => 80) # you may also add other options, like 'Reuse' => 1 and/or 'Listen' => 128 # specify list of objects-by-reference here -> objects_by_reference(qw(My::PersistentIterator My::SessionIterator My::Chat)) # specify path to My/Examples.pm here -> dispatch_to('/Your/Path/To/Deployed/Modules', 'Module::Name', 'Module::method') ; print "Contact to SOAP server at ", $daemon->url, "\n"; $daemon->handle;