Thanks for the link, this will certainly help. As this goes into Module::Build territory, and I'm not keen on learning on how to make Module::Build add arbitrary commands to the created Build (well, Build.bat) script, I won't change my patch. Somebody with knowledge of Module::Build is welcome to take my patch and make things work right out of the box.
The appropriate commands would likely be (ignoring systems where we have command.com):
set SHELL=cmd.exe
... and, after appropriate munging in Perl to remove all offending directories in $ENV{PATH}:
set PATH=$cleaned_path
$cleaned_path would likely be something like:
my $cleaned_path = join ";", grep { ! -f "$_\\sh.exe" && ! -f "$_\\cc1.exe" } split /;/, $ENV{PATH} ;
In reply to Re^13: Need help debugging Wx on Strawberry Perl 5.26.1
by Corion
in thread Need help debugging Wx on Strawberry Perl 5.26.1
by thechartist
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |