Devel::Cover with Moose?

Toby Corkindale toby at dryft.net
Mon May 23 09:27:22 BST 2011


Is anyone else using Devel::Cover with Moose, much?
I seem to get megabytes of warnings displayed even on trivial modules.
It's trying to create MD5 digests of files containing the materialised
functions created by __PACKAGE__->meta->make_immutable.

For example:

$ cat Foo.pm
package Foo;
use Moose;
__PACKAGE__->meta->make_immutable;
1;

$ perl -MDevel::Cover -e 'use Foo'

I've filed a bug report, but I don't suppose there's just an easy workaround?

Cheers,
Toby


More information about the london.pm mailing list