From: Tim Bunce Date: Thu, 11 Oct 2012 14:00:58 +0000 (+0100) Subject: Bump VERSION to 0.04. Tweak a warning message X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cccca2135a6578670cb681b31627dd8909b0d047;p=p5sagit%2FDevel-Size.git Bump VERSION to 0.04. Tweak a warning message --- diff --git a/SizeMe.xs b/SizeMe.xs index 3178176..904047d 100644 --- a/SizeMe.xs +++ b/SizeMe.xs @@ -756,7 +756,7 @@ regex_size(pTHX_ const REGEXP * const baseregex, struct state *st, pPATH) { /*ADD_SIZE(st, strlen(SvANY(baseregex)->subbeg));*/ #endif if (st->go_yell && !st->regex_whine) { - carp("Devel::Size: Calculated sizes for compiled regexes are incompatible, and probably always will be"); + carp("Devel::Size: Calculated sizes for compiled regexes are incomplete"); st->regex_whine = 1; } } diff --git a/lib/Devel/SizeMe.pm b/lib/Devel/SizeMe.pm index 2307118..39e2612 100644 --- a/lib/Devel/SizeMe.pm +++ b/lib/Devel/SizeMe.pm @@ -27,7 +27,7 @@ require 5.005; require Exporter; require XSLoader; -$VERSION = '0.03'; +$VERSION = '0.04'; @ISA = qw(Exporter); @EXPORT_OK = qw(size total_size perl_size heap_size); diff --git a/t/basic.t b/t/basic.t index 8ab8c06..c390470 100644 --- a/t/basic.t +++ b/t/basic.t @@ -10,7 +10,7 @@ can_ok ('Devel::SizeMe', qw/ /); die ("Uhoh, test uses an outdated version of Devel::SizeMe") - unless is ($Devel::SizeMe::VERSION, '0.03', 'VERSION MATCHES'); + unless is ($Devel::SizeMe::VERSION, '0.04', 'VERSION MATCHES'); ############################################################################# # some basic checks: