Subject: | Warning about Moose clearers when processing Test::TempDir |
Test::TempDir is a Moose-based CPAN module.
Running a script that uses it raises warnings from Devel::Cover about
the clearer methods generated by Moose.
I don't know if it is a Moose problem or a Devel::Cover problem.
Devel::Cover 0.82 (latest)
Moose 2.0402 (latest)
Test::TempDir 0.05 (latest)
$ LANG=C perl -MDevel::Cover -MTest::TempDir -E 0
Devel::Cover: Can't find file "-e" (-e): ignored.
Devel::Cover: Warning: can't open reader
Moose::Meta::Class::__ANON__::SERIAL::1::getopt_conf (unknown origin)
for MD5 digest: Aucun fichier ou dossier de ce type
Devel::Cover: Can't find file "reader
Moose::Meta::Class::__ANON__::SERIAL::1::getopt_conf (unknown origin)"
(reader Moose::Meta::Class::__ANON__::SERIAL::1::getopt_conf (unknown
origin)): ignored.
Devel::Cover: Warning: can't open clearer
Test::TempDir::Handle::clear_lock of attribute lock (defined at
/home/omengue/.perl/lib/perl5/Test/TempDir/Handle.pm line 17) for MD5
digest: Aucun fichier ou dossier de ce type
Devel::Cover: Can't find file "clearer Test::TempDir::Handle::clear_lock
of attribute lock (defined at
/home/omengue/.perl/lib/perl5/Test/TempDir/Handle.pm line 17)" (clearer
Test::TempDir::Handle::clear_lock of attribute lock (defined at
/home/omengue/.perl/lib/perl5/Test/TempDir/Handle.pm line 17)): ignored.
Devel::Cover: Warning: can't open clearer
Test::TempDir::Handle::clear_test_builder of attribute test_builder
(defined at /home/omengue/.perl/lib/perl5/Test/TempDir/Handle.pm line
30) for MD5 digest: Aucun fichier ou dossier de ce type
Devel::Cover: Can't find file "clearer
Test::TempDir::Handle::clear_test_builder of attribute test_builder
(defined at /home/omengue/.perl/lib/perl5/Test/TempDir/Handle.pm line
30)" (clearer Test::TempDir::Handle::clear_test_builder of attribute
test_builder (defined at
/home/omengue/.perl/lib/perl5/Test/TempDir/Handle.pm line 30)): ignored.
Devel::Cover 0.81: Collecting coverage data for branch, condition, pod,
statement, subroutine and time.
Selecting packages matching:
Ignoring packages matching:
/Devel/Cover[./]
Ignoring packages in:
...
--
Olivier Mengué - http://perlresume.org/DOLMEN