in reply to Problem with ``use if COND, Some::Module'' on Linux

See Devel::CheckOS
use Devel::CheckOS qw/ os_is /; use if os_is(qw/ Win32 /), 'Win32::Daemon'; use if !!os_is(qw/ Win32 /), 'Proc::Daemon';