On Sat Jul 16 17:40:58 2016, SPROUT wrote:
Show quoted text> I wonder, could it be this (from the Changes file)?
>
> 2015-12-31 k <andk@cpan.org>
>
> * release 2.12-TRIAL
>
> * merge in a lot of small changes to App::Cpan and cpan (brian d foy)
I see that CPAN::shell does this:
} elsif ($s =~ m|^/|) { # looks like a regexp
if (substr($s,-1,1) eq ".") {
$obj = CPAN::Shell->expandany($s);
} else {
so maybe App::Cpan needs to be doing expandany, too, rather than only expanding modules. But I don‘t know the codebase well at all.
It turns out that any argument that is not a module is now broken. Notice the difference between the two invocations:
$ cpan5.25.3 -t JJORE/Acme-Nothing-0.03.tar.gz
Loading internal null logger. Install Log::Log4perl for logging messages
Reading '/Users/sprout/.cpan/sources/authors/01mailrc.txt.gz'
CPAN: Compress::Zlib loaded ok (v2.069)
............................................................................DONE
Reading '/Users/sprout/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Sat, 16 Jul 2016 21:53:27 GMT
HTTP::Date not available
............................................................................DONE
Reading '/Users/sprout/.cpan/sources/modules/03modlist.data.gz'
DONE
$ cpan5.25.2 -t JJORE/Acme-Nothing-0.03.tar.gz
Loading internal null logger. Install Log::Log4perl for logging messages
Reading '/Users/sprout/.cpan/sources/authors/01mailrc.txt.gz'
CPAN: Compress::Zlib loaded ok (v2.069)
............................................................................DONE
Reading '/Users/sprout/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Sat, 16 Jul 2016 21:53:27 GMT
HTTP::Date not available
.............
New CPAN.pm version (v2.14) available.
[Currently running version is v2.11]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
CPAN: Time::HiRes loaded ok (v1.9733)
...............................................................DONE
Reading '/Users/sprout/.cpan/sources/modules/03modlist.data.gz'
DONE
CPAN: Digest::SHA loaded ok (v5.95)
Checksum for /Users/sprout/.cpan/sources/authors/id/J/JJ/JJORE/Acme-Nothing-0.03.tar.gz ok
x Acme-Nothing-0.03
x Acme-Nothing-0.03/README
x Acme-Nothing-0.03/LICENSE
x Acme-Nothing-0.03/dist.ini
x Acme-Nothing-0.03/t
x Acme-Nothing-0.03/t/load.t
x Acme-Nothing-0.03/META.yml
x Acme-Nothing-0.03/MANIFEST
x Acme-Nothing-0.03/weaver.ini
x Acme-Nothing-0.03/Makefile.PL
x Acme-Nothing-0.03/lib/Acme
x Acme-Nothing-0.03/lib/Acme/Nothing.pm
x Acme-Nothing-0.03/t/release-pod-syntax.t
x Acme-Nothing-0.03/t/release-pod-coverage.t
CPAN: File::Temp loaded ok (v0.2304)
'YAML' not installed, will not store persistent state
CPAN: CPAN::Meta::Requirements loaded ok (v2.140)
CPAN: Parse::CPAN::Meta loaded ok (v1.4417)
CPAN: CPAN::Meta loaded ok (v2.150005)
CPAN: Module::CoreList loaded ok (v5.20160620)
Configuring J/JJ/JJORE/Acme-Nothing-0.03.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Acme::Nothing
Writing MYMETA.yml and MYMETA.json
JJORE/Acme-Nothing-0.03.tar.gz
/usr/local/bin/perl5.25.2 Makefile.PL -- OK
Running make for J/JJ/JJORE/Acme-Nothing-0.03.tar.gz
cp lib/Acme/Nothing.pm blib/lib/Acme/Nothing.pm
Manifying 1 pod document
JJORE/Acme-Nothing-0.03.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 "/usr/local/bin/perl5.25.2" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/load.t .................. ok
t/release-pod-coverage.t .. skipped: these tests are for release candidate testing
t/release-pod-syntax.t .... skipped: these tests are for release candidate testing
All tests successful.
Files=3, Tests=3, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.21 cusr 0.03 csys = 0.29 CPU)
Result: PASS
JJORE/Acme-Nothing-0.03.tar.gz
/usr/bin/make test -- OK