use XMLRPC::Transport::TCP; my $daemon = XMLRPC::Transport::TCP::Server -> new (LocalAddr => 'localhost', LocalPort => 82, Listen => 5, Reuse => 1) -> objects_by_reference(qw(My::PersistentIterator My::SessionIterator My::Chat)) -> dispatch_to('/Your/Path/To/Deployed/Modules', 'Module::Name', 'Module::method'); print "Contact to XMLRPC server at ", join(':', $daemon->sockhost, $daemon->sockport), "\n"; $daemon->handle;
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.