Subject: | Bundled Module/Install/AutoInstall.pm fails with newer perls |
Running Makefile.PL fails with newer perls:
Output from '/usr/perl5.22.2p/bin/perl5.22.2 Makefile.PL':
Use of my $_ is experimental at inc/Module/Install/AutoInstall.pm - /usr/share/perl5/Module/Install/AutoInstall.pm line 37.
Use of my $_ is experimental at inc/Module/Install/AutoInstall.pm - /usr/share/perl5/Module/Install/AutoInstall.pm line 37.
Regexp modifiers "/a" and "/d" are mutually exclusive at inc/Module/Install/AutoInstall.pm - /usr/share/perl5/Module/Install/AutoInstall.pm line 26, at end of line
syntax error at inc/Module/Install/AutoInstall.pm - /usr/share/perl5/Module/Install/AutoInstall.pm line 26, near "m/--(?:default|skip|testonly)/and-t "
syntax error at inc/Module/Install/AutoInstall.pm - /usr/share/perl5/Module/Install/AutoInstall.pm line 31, near "}eval"
syntax error at inc/Module/Install/AutoInstall.pm - /usr/share/perl5/Module/Install/AutoInstall.pm line 34, near "}}"
(Might be a runaway multi-line "" string starting on line 33)
Can't use global @_ in "my" at inc/Module/Install/AutoInstall.pm - /usr/share/perl5/Module/Install/AutoInstall.pm line 40, near "and @_ "
syntax error at inc/Module/Install/AutoInstall.pm - /usr/share/perl5/Module/Install/AutoInstall.pm line 55, near "}"
syntax error at inc/Module/Install/AutoInstall.pm - /usr/share/perl5/Module/Install/AutoInstall.pm line 61, near "}"
Compilation failed in require at inc/Module/Install.pm - /usr/share/perl5/Module/Install.pm line 269.
The 'auto_install' method does not exist in the 'inc' path!
Please remove the 'inc' directory and run Makefile.PL again to load it.
Probably a newer version of Module::Install::Autoinstall needs to be bundled?
See also http://matrix.cpantesters.org/?dist=Acme-PerlTidy%200.02 for an overview of test reports.