CC: | ANDK [...] cpan.org |
Subject: | Check for gpg fails noisily on Win32 with erroneous error. |
When Module::Signature fails to find gpg, it does so noisily, adding a
superfluous error to the console.
The offending code is
--------------------------------------------------------
Module::Signature::_has_gpg(c:/vanilla-perl/perl/site/lib/Module/Signature.pm:13
4):
134: `gpg --version` =~ /GnuPG.*?(\S+)$/m or return;
DB<3> n
'gpg' is not recognized as an internal or external command,
operable program or batch file.
Module::Signature::_verify(c:/vanilla-perl/perl/site/lib/Module/Signature.pm:121
--------------------------------------------------------
The call to gpg needs to first verify that gpg actually exists, or in
some other way avoid generating the extra STDERR messages.