PerlAddict42 has asked for the wisdom of the Perl Monks concerning the following question:

Using Perl for over 20 years, today I got surprised by something I don't understand. On Windows 10, using Strawberry Perl 5.22, I run the following one-line script from which I expect no output:

use Win32::Daemon;

But, surprise, this is the output:

BEGIN Win32::Daemon ... require Exporter; require DynaLoader; bootstrap Win32::Daemon; done END Win32::Daemon ... DONE Win32::Daemon ...

This output goes to STDOUT, not to STDERR, and I would like to get rid of it. What am I missing?

Replies are listed 'Best First'.
Re: BEGIN Win32::Daemon
by PerlAddict42 (Novice) on Oct 21, 2020 at 04:48 UTC
    Probably a glitch in the version I was using: an upgrade to Strawberry Perl 5.22.3 solved it ...