Subject: | local $ENV{PERL5LIB} work around for Cygwin |
"local $ENV{FOO};" appears to be less than working on Cygwin. This thread accounts the tale.
http://www.nntp.perl.org/group/perl.makemaker/2311
Culminating in:
http://www.nntp.perl.org/group/perl.makemaker/2337
Long story short: The "local $ENV{PERL5LIB}" has to be set to some value or Cygwin breaks. So change the line in THS->default_inc() to be
local $ENV{PERL5LIB} = '';
to fix Test::Harness on Cygwin.