Subject: | Missing Object::DOES - also in dependencies |
$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Role::Commons
Writing MYMETA.yml and MYMETA.json
$ make
cp lib/Role/Commons/Tap.pm blib/lib/Role/Commons/Tap.pm
cp lib/Object/Tap.pm blib/lib/Object/Tap.pm
cp lib/Role/Commons.pm blib/lib/Role/Commons.pm
cp lib/Object/AUTHORITY.pm blib/lib/Object/AUTHORITY.pm
cp lib/authority/shared.pm blib/lib/authority/shared.pm
cp lib/Role/Commons/ObjectID.pm blib/lib/Role/Commons/ObjectID.pm
cp lib/Role/Commons/Authority.pm blib/lib/Role/Commons/Authority.pm
Manifying blib/man3/Role::Commons.3
Manifying blib/man3/Role::Commons::Authority.3
Manifying blib/man3/Role::Commons::ObjectID.3
Manifying blib/man3/Role::Commons::Tap.3
$ ack -w DOES
t/Object-Tap/01basic.t
7: use Object::DOES;
12:#ok(Object::Tap->DOES('Object::Role'));
13:#ok(Local::MyClass1->DOES('Object::Tap'));
README
17: if Local::Class->DOES('Role::Commons::Authority');
21: if $obj->DOES('Role::Commons::ObjectID');
68: Object-AUTHORITY, Object-DOES, Object-Role, and Object-Tap.
lib/Role/Commons.pm
148: if Local::Class->DOES('Role::Commons::Authority');
152: if $obj->DOES('Role::Commons::ObjectID');
221:Object-DOES,
$ make test
PERL_DL_NONLAZY=1 /pro/bin/perl5.20.0 "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Object-AUTHORITY/*.t t/Object-Tap/*.t t/authority-shared/*.t
t/01basic.t .................... ok
t/02oaa.t ...................... ok
t/authority-shared/01basic.t ... ok
t/authority-shared/02as.t ...... ok
t/Object-AUTHORITY/01basic.t ... ok
t/Object-AUTHORITY/02return.t .. ok
t/Object-AUTHORITY/03croak.t ... ok
t/Object-Tap/01basic.t ......... 1/1 Can't locate Object/DOES.pm in @INC (you may need to install the Object::DOES module) (@INC contains: /home/merijn/.cpan/build/Role-Commons-0.102-Be4bQt/blib/lib /home/merijn/.cpan/build/Role-Commons-0.102-Be4bQt/blib/arch /pro/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld /pro/lib/perl5/site_perl/5.20.0 /pro/lib/perl5/5.20.0/x86_64-linux-thread-multi-ld /pro/lib/perl5/5.20.0 .) at t/Object-Tap/01basic.t line 7.
BEGIN failed--compilation aborted at t/Object-Tap/01basic.t line 7.
# Looks like your test exited with 2 just after 1.
t/Object-Tap/01basic.t ......... Dubious, test returned 2 (wstat 512, 0x200)
All 1 subtests passed
t/Object-Tap/02import.t ........ ok
t/Object-Tap/03tapping.t ....... ok
Test Summary Report
-------------------
t/Object-Tap/01basic.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Files=10, Tests=39, 0 wallclock secs ( 0.04 usr 0.01 sys + 0.73 cusr 0.06 csys = 0.84 CPU)
Result: FAIL
Failed 1/10 test programs. 0/39 subtests failed.
$ grep -w DOES *
grep: blib: Is a directory
grep: lib: Is a directory
README: if Local::Class->DOES('Role::Commons::Authority');
README: if $obj->DOES('Role::Commons::ObjectID');
README: Object-AUTHORITY, Object-DOES, Object-Role, and Object-Tap.
$ cpan Object::DOES
CPAN: Term::ANSIColor loaded ok (v4.03)
CPAN: CPAN::SQLite loaded ok (v0.204)
CPAN: YAML::Syck loaded ok (v1.27)
Reading 3 yaml files from /home/merijn/.cpan/build/
DONE
Restored the state of none (in 0.0017 secs)
Database was generated on Fri, 12 Sep 2014 06:18:26 GMT
Warning: Cannot install Object::DOES, don't know what it is.
Try the command
i /Object::DOES/
to find objects with matching identifiers.