Subject: | Declaration of prerequisites not leading to intended result |
As per subject. The 'perl' attribute in the Build.PL is being ignored by Module::Build. It would belong to the 'requires' attribute hash. Something like this is patch is required to fix this:
--- Build.PL~ 2017-11-28 02:02:05.000000000 +0000
+++ Build.PL 2017-12-02 13:37:46.579829968 +0000
@@ -5,10 +5,13 @@
dist_author => 'philiprbrenan@gmail.com',
dist_abstract => 'Encode a Unicode string in Perl and decode it in Java',
license => 'perl',
- requires => {Carp=>0, Test::More=>0},
+ requires => {
+ Carp => 0,
+ Test::More => 0,
+ perl => '5.16.0',
+ },
configure_requires => { 'Module::Build' => 0.42 },
create_readme => 0,
- perl => '5.16.0',
);
$b->create_build_script();
Thanks,