use strict; package TWiki::Configure::Checkers::MSWin32; sub check { my $this = shift; # ActivePerl-only function: returns number if # successful, otherwise treated as a literal (bareword). my $isActivePerl= eval 'Win32::BuildNumber !~ /Win32/'; # FIXME: Advice in this section should be reviewed and tested by people # using ActivePerl my $perl5shell = $ENV{PERL5SHELL} || ''; my $n = $perl5shell. $this->NOTE(<recommended if Cygwin is installed).

To use 'bash' with ActiveState or other Win32 Perl you should set the PERL5SHELL environment variable to something like c:/YOURCYGWINDIR/bin/bash.exe -c This should be set in the System Environment, and ideally set directly in the web server (e.g. using the Apache SetEnv directive). HERE if( $isActivePerl ) { $n .= $this->WARN(<highly recommended not to use this particular configuration on a public server (one exposed to the internet) HERE if( Win32::BuildNumber() < 631 ) { $n .= $this->WARN(<