Subject: | Bundled Module/Install/AutoInstall.pm fails with newer perls |
Installation fails with newer perls (e.g. 5.18.4), probably because some modules in inc are too old:
Use of my $_ is experimental at inc/Module/Install/AutoInstall.pm - /Users/gbarr/Library/Perl/Module/Install/AutoInstall.pm line 35, <STDIN> line 6.
Use of my $_ is experimental at inc/Module/Install/AutoInstall.pm - /Users/gbarr/Library/Perl/Module/Install/AutoInstall.pm line 35, <STDIN> line 6.
Unknown regexp modifier "/n" at inc/Module/Install/AutoInstall.pm - /Users/gbarr/Library/Perl/Module/Install/AutoInstall.pm line 23, at end of line
Regexp modifiers "/a" and "/d" are mutually exclusive at inc/Module/Install/AutoInstall.pm - /Users/gbarr/Library/Perl/Module/Install/AutoInstall.pm line 23, at end of line
syntax error at inc/Module/Install/AutoInstall.pm - /Users/gbarr/Library/Perl/Module/Install/AutoInstall.pm line 23, near "m/--(?:default|skip|testonly)/and-t "
syntax error at inc/Module/Install/AutoInstall.pm - /Users/gbarr/Library/Perl/Module/Install/AutoInstall.pm line 29, near "}eval"
syntax error at inc/Module/Install/AutoInstall.pm - /Users/gbarr/Library/Perl/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 - /Users/gbarr/Library/Perl/Module/Install/AutoInstall.pm line 38, near "and @_ "
syntax error at inc/Module/Install/AutoInstall.pm - /Users/gbarr/Library/Perl/Module/Install/AutoInstall.pm line 53, near "}"
syntax error at inc/Module/Install/AutoInstall.pm - /Users/gbarr/Library/Perl/Module/Install/AutoInstall.pm line 59, near "}"
Compilation failed in require at inc/Module/Install.pm - /Users/gbarr/Library/Perl/Module/Install.pm line 267, <STDIN> line 6.
The 'auto_install_now' method does not exist in the 'inc' path!
Please remove the 'inc' directory and run Makefile.PL again to load it.