Subject: | Bundled Makefile.PL does not work |
If running Makefile.PL instead of Build.PL then the following error happens:
Output from '/usr/perl5.18.1t/bin/perl5.18.1 Makefile.PL':
# running Build.PL
Encountered CODE ref, using dummy placeholder at /usr/perl5.18.1t/lib/5.18.1/amd64-freebsd-thread-multi/Data/Dumper.pm line 222.
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Class-Roles' version '0.30'
Unknown 'build_class', defaulting to 'Module::Build'
A prereq of the form '' for 'Test::Exception' is not supported by Module::Build::Compat ( use a simpler version like '0.05' or 'v1.4.25' )
... and the installation fails. The Data::Dumper warning may appear or not (depending on perl version) and is probably not relevant here.