Subject: | Option to turn off pl2bat behavior under Win32 |
It would be really nice if there were an option one could pass in the Build.PL file that indicated that scripts should not be run through pl2bat. I'm perfectly happy to require that users type "PermDump.pl" to get my script - the behavior of sticking it in the Perl/bin directory under Win32 is beautiful, I just don't want to clutter things up twice as much!
Right now I'm using the following as a workaround:
sub make_executable {
my $self = shift;
foreach my $script (@_) {
if ($script =~ /Perm(Chg|Dump|Fix)\.pl$/i) {
$self->Module::Build::Base::make_executable($script);
} else {
$self->SUPER::make_executable($script);
}
}
}
--Toby Ovod-Everett