Skip Menu |
 

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 5669
Status: open
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: toby [...] ovod-everett.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.24
Fixed in: (no value)



Subject: Option to turn off pl2bat behavior under Win32
Download (untitled) / with headers
text/plain 685b
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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.