Subject: | Cygwin check for OpenSSH |
Date: | Tue, 11 Jun 2013 12:24:45 -0500 |
To: | bug-Net-SSH-Any [...] rt.cpan.org |
From: | "johantheolive [...] gmail.com" <johantheolive [...] gmail.com> |
Using cygwin, the OS check on line 6 of Net_OpenSSH does not recognize it
as a Windows platform and continues to try using Net::OpenSSH, which
inevitably fails.
I rebuilt the module changing that line to:
BEGIN { die "Net::OpenSSH does not work on Windows" if $^O =~
/(?:cygwin|Win(?:32|64))/ }
Which appears to be working. Thanks for this module and Net::OpenSSH