Permalink
Browse files

Add top level version subroutine.

Requested by H.Merijn Brand.
  • Loading branch information...
1 parent 2a6d01e commit 354a23eaa07dc1056678a44649a43a5066683a80 @pjcj committed Apr 18, 2011
Showing with 3 additions and 1 deletion.
  1. +1 −1 CHANGES
  2. +2 −0 lib/Devel/Cover.pm
View
@@ -2,7 +2,7 @@ Devel::Cover.pm history
Release 0.76 - 18th April 2011
- Move CHANGES file into root for search.cpan.org (rt 67541).
-
+ - Add top level version subroutine (requested by H.Merijn Brand).
Release 0.75 - 17th April 2011
- Write database as JSON if JSON::PP is available.
View
@@ -107,6 +107,8 @@ BEGIN
$^P |= 0x004 | 0x100;
}
+sub version { $VERSION }
+
if (0 && $Config{useithreads})
{
eval "use threads";

0 comments on commit 354a23e

Please sign in to comment.