Subject: | Bundled Module/Install/AutoInstall.pm fails with newer perls |
See subject. Build log looks like this:
Output from '/bbbike/perl-5.18.4/bin/perl Build.PL':
Use of my $_ is experimental at inc/Module/Install/AutoInstall.pm - /Library/Perl/5.8.1/Module/Install/AutoInstall.pm line 35.
Use of my $_ is experimental at inc/Module/Install/AutoInstall.pm - /Library/Perl/5.8.1/Module/Install/AutoInstall.pm line 35.
Unknown regexp modifier "/n" at inc/Module/Install/AutoInstall.pm - /Library/Perl/5.8.1/Module/Install/AutoInstall.pm line 23, at end of line
Regexp modifiers "/a" and "/d" are mutually exclusive at inc/Module/Install/AutoInstall.pm - /Library/Perl/5.8.1/Module/Install/AutoInstall.pm line 23, at end of line
syntax error at inc/Module/Install/AutoInstall.pm - /Library/Perl/5.8.1/Module/Install/AutoInstall.pm line 23, near "m/--(?:default|skip|testonly)/and-t "
syntax error at inc/Module/Install/AutoInstall.pm - /Library/Perl/5.8.1/Module/Install/AutoInstall.pm line 29, near "}eval"
syntax error at inc/Module/Install/AutoInstall.pm - /Library/Perl/5.8.1/Module/Install/AutoInstall.pm line 32, near "}}"
(Might be a runaway multi-line "" string starting on line 31)
Can't use global @_ in "my" at inc/Module/Install/AutoInstall.pm - /Library/Perl/5.8.1/Module/Install/AutoInstall.pm line 38, near "and @_ "
syntax error at inc/Module/Install/AutoInstall.pm - /Library/Perl/5.8.1/Module/Install/AutoInstall.pm line 53, near "}"
syntax error at inc/Module/Install/AutoInstall.pm - /Library/Perl/5.8.1/Module/Install/AutoInstall.pm line 59, near "}"
Compilation failed in require at inc/Module/Install.pm - /Library/Perl/5.8.1/Module/Install.pm line 267.
The 'auto_install' method does not exist in the 'inc' path!
Please remove the 'inc' directory and run Build.PL again to load it.
Compilation failed in require at Build.PL line 3.