Skip to content

Commit

Permalink
Report Pod::Coverage load failure (dom - happygiraffe.net) (rt 14425).
Browse files Browse the repository at this point in the history
  • Loading branch information
pjcj committed Aug 2, 2006
1 parent a40c898 commit 9eca557
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGES
@@ -1,5 +1,8 @@
Devel::Cover.pm history

Release 0.57 -
- Report Pod::Coverage load failure (dom - happygiraffe.net) (rt 14425).

Release 0.56 - 1st August 2006
- gcov2perl creates db if necessary (Steve Peters) (rt 13536).
- Properly merge identical files (Jeff Wren) (rt 12410).
Expand Down
4 changes: 4 additions & 0 deletions lib/Devel/Cover.pm
Expand Up @@ -31,8 +31,12 @@ BEGIN
{
# Use Pod::Coverage if it is available.
eval "use Pod::Coverage 0.06";
# If there is any error other than a failure to locate, report it.
die $@ if $@ && $@ !~ m/Can't locate Pod\/Coverage.+pm in \@INC/;

# We'll prefer Pod::Coverage::CountParents
eval "use Pod::Coverage::CountParents";
die $@ if $@ && $@ !~ m/Can't locate Pod\/Coverage.+pm in \@INC/;
}

# $SIG{__DIE__} = \&Carp::confess;
Expand Down

0 comments on commit 9eca557

Please sign in to comment.