Subject: | Net::Server::MultiType does not pass forward arguments |
Dear Paul Seamons / Authors,
I have tried to use Net::Server::MultiType (with XML::RPC::Server) but I could not pass arguments for the chosen personality by passing arguments to the run method.
Using only a single personality a quick fix would be to pass forward @_ in Net::Server::MultiType::run when it is calling SUPER::run, so line 108 should be in my opinion:
$self->SUPER::run(@_);
My current workaround (without modifying this package) is to write arguments to $self->{server}->{xxx} variables by hand breafore calling run method.
On the other hand maybe I missed some other interface to pass arguments to the chosen personality, in this case ignore my report, please.
Best regards,
Aron Ujvari
System description:
Net::Server v0.90
This is perl, v5.8.7 built for i486-linux-gnu-thread-multi
Linux cimitarra 2.6.12-9-k7 #1 Mon Oct 10 13:47:52 BST 2005 i686 GNU/Linux
(Ubuntu 5.10, Net::Server installed from CPAN)