Skip to content

Commit

Permalink
fix regex. requires perl 5.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bricas committed Apr 12, 2011
1 parent c85e286 commit 4768471
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile.PL
Expand Up @@ -4,7 +4,7 @@ if ( -e 'MANIFEST.SKIP' ) {
system( 'pod2text lib/CPAN/Changes.pm > README' ); system( 'pod2text lib/CPAN/Changes.pm > README' );
} }


perl_version '5.008'; perl_version '5.010';


name 'CPAN-Changes'; name 'CPAN-Changes';
all_from 'lib/CPAN/Changes.pm'; all_from 'lib/CPAN/Changes.pm';
Expand Down
2 changes: 1 addition & 1 deletion lib/CPAN/Changes.pm
Expand Up @@ -114,7 +114,7 @@ sub load_string {
} }


# start with W3CDTF, ignore rest # start with W3CDTF, ignore rest
elsif ( $d =~ m{^($W3CDTF_REGEX)(?: \D+)$}) { elsif ( $d =~ m{^($W3CDTF_REGEX)}p ) {
$d = ${^MATCH}; $d = ${^MATCH};
} }
} }
Expand Down
2 changes: 1 addition & 1 deletion t/self.t
@@ -1,7 +1,7 @@
use strict; use strict;
use warnings; use warnings;


use Test::More tests => 18; use Test::More tests => 19;


use_ok( 'CPAN::Changes' ); use_ok( 'CPAN::Changes' );


Expand Down

0 comments on commit 4768471

Please sign in to comment.