http://www.perlmonks.org?node_id=953179

szabgab has asked for the wisdom of the Perl Monks concerning the following question:

While building the next version of DWIM Perl, I was trying to install Module-Install-Repository-0.06 on Strawberry Perl 5.14.2 on Windows but it failed.
CPAN: CPAN::SQLite loaded ok (v0.202) Database was generated on Fri, 10 Feb 2012 10:11:17 GMT Running install for module 'Module::Install::Repository' Running make for M/MI/MIYAGAWA/Module-Install-Repository-0.06.tar.gz CPAN: Digest::SHA loaded ok (v5.63) CPAN: Compress::Zlib loaded ok (v2.042) Checksum for C:\strawberry\cpan\sources\authors\id\M\MI\MIYAGAWA\Modul +e-Install-Repository-0.06.tar.gz ok CPAN: Archive::Tar loaded ok (v1.80) CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4401) CPAN: CPAN::Meta loaded ok (v2.112621) CPAN: Module::CoreList loaded ok (v2.57) CPAN.pm: Building M/MI/MIYAGAWA/Module-Install-Repository-0.06.tar.g +z CPAN: CPAN::Reporter loaded ok (v1.2003) Checking if your kit is complete... Looks good Writing Makefile for Module::Install::Repository JSON 2.5 is required for $ENV{PERL_JSON_BACKEND} = 'JSON::XS' at C:/strawberry/perl/lib/CPAN/Meta/Converter.pm line 22 at C:/strawberry/perl/lib/ExtUtils/MM_Any.pm line 1278 (C:\strawberry\perl\bin\perl.exe Makefile.PL exited with 65280) CPAN::Reporter: Makefile.PL result is 'unknown', Stopped with an error +. CPAN::Reporter: preparing a CPAN Testers report for Module-Install-Rep +ository-0.06
C:\strawberry>mversion JSON 2.53 C:\strawberry>mversion JSON::XS 2.32
So I went and cloned the github repository of Module-Install-Repository to see if I can figure out the problem: https://github.com/miyagawa/module-install-repository
C:\work\module-install-repository>perl Makefile.PL include C:/work/module-install-repository/inc/Module/Install.pm Bareword "auto_set_repository" not allowed while "strict subs" in use +at Makefile.PL line 4. Execution of Makefile.PL aborted due to compilation errors.
Now I am totally confused. Isn't auto_set_repository supplied by Module-Install-Repository?