in reply to Re: Spurious "Insecure dependency" error in CGI.pm
in thread Spurious "Insecure dependency" error in CGI.pm

I thought, maybe, for good measure, this patch also
@@ -820,7 +820,7 @@ # put a filehandle into binary mode (DOS) sub binmode { - return unless defined($_[1]) && defined fileno($_[1]); + return unless defined($_[1]) && ref ($_[1]) && defined fileno($_[ +1]); CORE::binmode($_[1]); }

But this fix might trigger other bugs

Needs more extensive testing :/

Replies are listed 'Best First'.
Re^3: Spurious "Insecure dependency" error in CGI.pm
by Anonymous Monk on Sep 14, 2011 at 15:45 UTC
    Thanks people! I have added the patch to the ticket on CPAN.