Skip to content

Commit

Permalink
fix CPANTS issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrey Fearn committed Aug 10, 2010
1 parent 1a38305 commit 8c1244c
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 9 deletions.
3 changes: 3 additions & 0 deletions Changes
@@ -1,4 +1,7 @@
Changelog for HTML-Tree
3.23_2 Tue Aug 10 2010
* Fix critic test exploding if Test::Perl::Critic isn't installed.
* Fix annoying message about x.yy_z not being numeric in t/building.t

3.23_2 Mon Aug 02 2010
* Added extra_chars options to as_trimmed_text RT #26436
Expand Down
4 changes: 2 additions & 2 deletions lib/HTML/Element.pm
Expand Up @@ -6,7 +6,7 @@ HTML::Element - Class for objects that represent HTML elements
=head1 VERSION
Version 3.23_2
Version 3.23_3
=cut

Expand All @@ -17,7 +17,7 @@ use HTML::Tagset ();
use integer; # vroom vroom!

use vars qw( $VERSION );
$VERSION = '3.23_2';
$VERSION = '3.23_3';

# This contorls encoding entities on output.
# When set entities won't be re-encoded.
Expand Down
4 changes: 2 additions & 2 deletions lib/HTML/Tree.pm
Expand Up @@ -6,7 +6,7 @@ HTML::Tree - build and scan parse-trees of HTML
=head1 VERSION
3.23_2
3.23_3
=cut

Expand All @@ -18,7 +18,7 @@ use strict;
use HTML::TreeBuilder ();

use vars qw( $VERSION );
$VERSION = '3.23_2';
$VERSION = '3.23_3';

=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion lib/HTML/TreeBuilder.pm
Expand Up @@ -5,7 +5,7 @@ use strict;
use integer; # vroom vroom!
use Carp ();
use vars qw(@ISA $VERSION $DEBUG);
$VERSION = '3.23_2';
$VERSION = '3.23_3';

#---------------------------------------------------------------------------
# Make a 'DEBUG' constant...
Expand Down
2 changes: 1 addition & 1 deletion t/building.t
Expand Up @@ -8,7 +8,7 @@ use strict;
use Test::More tests => 43;

BEGIN {
use_ok( "HTML::Element", 1.53 );
use_ok( "HTML::Element" );
}

FIRST_BLOCK: {
Expand Down
10 changes: 7 additions & 3 deletions t/zz_perlcritic.t
@@ -1,6 +1,10 @@
#!perl
#!perl -T

if ( !require Test::Perl::Critic ) {
use Test::More;

eval "use Test::Perl::Critic";

if ($@) {
Test::More::plan( skip_all =>
"Test::Perl::Critic required for testing PBP compliance" );
}
Expand All @@ -14,4 +18,4 @@ else {
);
}

Test::Perl::Critic::all_critic_ok();
all_critic_ok();

0 comments on commit 8c1244c

Please sign in to comment.