Subject: | Check before forking tests for defined not true-ness |
Line 291 of v0.97 Net/Server.pm:
if( $prop->{setsid} || defined($prop->{background}) ){
Why use defined() here, and not just test for true-ness?
This means that it is now impossible to turn off "background" if a
default_values() hook sets it to 1, since _initialize will overwrite
your parameters if they have an undef value.
An example of this problem is XML::Compile::SOAP::Daemon, which is now
impossible to run in the foreground.
Lots of thanks if this can be fixed!