Subject: | Params::Validate 1.01 breaks DateTime::Format::Builder |
After upgrading to PV 1.01 both the tests for DateTime::Format::Builder
and my own usage of it breaks with errors like the following. I've also
attached a full build log for the latter.
t/altcon.t ......... The 'regex' parameter ("(?^x:^ (\d{4}) -?? (\d{3})
$)") to DateTime::Format::Builder::Parser::create_single_parser was an
'unknown', which is not one of the allowed types: scalarref
at
/home/gardnerm/perl5/perlbrew/perls/perl-5.14.2-usethreads/lib/site_perl/5.14.2/x86_64-linux-thread-multi/Params/ValidatePP.pm
line 650
Params::Validate::__ANON__('The \'regex\' parameter ("(?^x:^ (\d{4})
-?? (\d{3}) $)") to ...') called at
/home/gardnerm/perl5/perlbrew/perls/perl-5.14.2-usethreads/lib/site_perl/5.14.2/x86_64-linux-thread-multi/Params/ValidatePP.pm
line 494
Params::Validate::_validate_one_param('Regexp=REGEXP(0x1943ca8)',
'HASH(0x21b6618)', 'HASH(0x21a52e0)', 'The \'regex\' parameter ("(?^x:^
(\d{4}) -?? (\d{3}) $)")') called at
/home/gardnerm/perl5/perlbrew/perls/perl-5.14.2-usethreads/lib/site_perl/5.14.2/x86_64-linux-thread-multi/Params/ValidatePP.pm
line 353
Params::Validate::validate('ARRAY(0x216c0c0)', 'HASH(0x216b6a8)')
called at
/home/gardnerm/.cpanm/work/1328545595.13419/DateTime-Format-Builder-0.80/blib/lib/DateTime/Format/Builder/Parser.pm
line 311
DateTime::Format::Builder::Parser::create_single_parser(undef,
'params', 'ARRAY(0x1925998)', 'constructor', 'ARRAY(0x1943d80)',
'regex', 'Regexp=REGEXP(0x1943ca8)') called at
/home/gardnerm/.cpanm/work/1328545595.13419/DateTime-Format-Builder-0.80/blib/lib/DateTime/Format/Builder/Parser.pm
line 512
DateTime::Format::Builder::Parser::sort_parsers('DateTime::Format::Builder::Parser', 'HASH(0x2179d58)', 'ARRAY(0x216c570)') called at /home/gardnerm/.cpanm/work/1328545595.13419/DateTime-Format-Builder-0.80/blib/lib/DateTime/Format/Builder/Parser.pm line 397
DateTime::Format::Builder::Parser::create_multiple_parsers('DateTime::Format::Builder::Parser', 'HASH(0x2179d58)', 'HASH(0x1943df8)', 'HASH(0x21b6300)') called at /home/gardnerm/.cpanm/work/1328545595.13419/DateTime-Format-Builder-0.80/blib/lib/DateTime/Format/Builder/Parser.pm line 600
DateTime::Format::Builder::Parser::create_parser('DateTime::Format::Builder::Parser', 'ARRAY(0x1fd30e8)', 'HASH(0x1943df8)', 'HASH(0x21b6300)') called at /home/gardnerm/.cpanm/work/1328545595.13419/DateTime-Format-Builder-0.80/blib/lib/DateTime/Format/Builder.pm line 160
DateTime::Format::Builder::create_parser('DateTime::Format::Builder',
'HASH(0x1943df8)', 'HASH(0x21b6300)') called at t/altcon.t line 37
# Looks like your test exited with 255 before it could output anything.
t/altcon.t ......... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 19/19 subtests
Subject: | build.log |
Message body not shown because it is not plain text.