Because Net::Server::options() is a method call only, we're going to fake it out a bit. The author really needs to provide a clearer custom template method.
my $template = Net::Server::options( {}, {} );
$template->{$_} = undef for @my_extra_param_names;
my $server = Net::Server->new( $template );
I think that will work, based on a 10-minute reading of the code.
- In general, if you think something isn't in Perl, try it out, because it usually is. :-)
- "What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?"