Module-Install-0.86のModule::AutoInstallが壊れてるくさい
Module-Install-0.87が出ました。この件直ってます。
Diff from Module-Install-0.86 to Module-Install-0.87
Module-Install-0.86 - Standalone, extensible Perl module installer - metacpan.org
*** Module::AutoInstall version 1.03 *** Checking for Perl dependencies... *** Since we're running under CPAN, I'll just let it take care of the dependency's installation later.
と警告が出て、普通はmissingなモジュールがあったら
==> Auto-install the 1 mandatory module(s) from CPAN? [y]
と聞かれるはずが何も聞かれず、自動インストールされなくなっていた。
なんでかなーと思ってデバッグしてたら、
Module/AutoInstall.pmが
sub _check_lock { (前略) require CPAN; if ($CPAN::VERSION > '1.89' && $ENV{PERL5_CPAN_IS_RUNNING}) { return _running_under('CPAN'); } (後略)
ってなってた。目が点になった。
これではif文が必ず真になってしまう・・・(もちろん0.85まではrequireしてない。ってか0.84〜0.85消えてるし・・・)
駄目だこいつ・・・早くなんとかしないと・・・