Subject: | Improper usage of Module::Build |
Date: | Wed, 1 Oct 2014 15:56:46 -0400 |
To: | bug-DBM-Deep [...] rt.cpan.org |
From: | Bob Vincent <robert.vincent [...] homes.com> |
Patch as follows:
diff -ur orig/DBM-Deep-2.0011/Build.PL patched/DBM-Deep-2.0011/Build.PL
--- orig/DBM-Deep-2.0011/Build.PL 2014-01-12 21:05:20.000000000 -0500
+++ patched/DBM-Deep-2.0011/Build.PL 2014-10-01 15:56:13.344953831 -0400
@@ -3,8 +3,8 @@
use strict;
use warnings FATAL => 'all';
-my $build = Module::Build->subclass(
- class => "Module::Build::Custom",
+my $class = Module::Build->subclass(
+ class => "Custom",
code => '
sub ACTION_test {
my $self = shift;
@@ -31,7 +31,8 @@
$self->SUPER::ACTION_dist( @_ );
}
',
-)->new(
+);
+my $build = $class->new(
module_name => 'DBM::Deep',
license => 'perl',
requires => {
Robert August Vincent II *(Bob-Vee)*
Linux Systems Administrator, Portal (80X)
Office: (757) 351-8182 Cell: (757) 672-1935