Skip Menu |

This queue is for tickets about the Net-Server CPAN distribution.

Report information
The Basics
Id: 38613
Status: resolved
Priority: 0/
Queue: Net-Server

People
Owner: Nobody in particular
Requestors: MARKOV [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Sorry, I had some stuggles with new RT features. I would like to be able to do: $server->run(handler => \&myhandler) but configuration options cannot be references. Of course, configuration parameters on the command-line and configuration files can only be scalars, however new() and run() can have them. In the latest Net::Server version, the error message is: Found an invalid configuration value for "handler" (CODE(0x814a0b8)) at /usr/local/lib/perl5/site_perl/5.10.0/Net/Server.pm line 1379. The work-around is an enormous hassle.
This should now be possible. Thank you again.