Subject: | Fails with perls < 5.14 |
As per subject. Best illustrated in the matrix:
http://matrix.cpantesters.org/?dist=HTML-Robot-Scrapper-0.07
Sample fail report:
http://www.cpantesters.org/cpan/report/31503715
When I run it in the debugger I get this stacktrace:
Can't locate Default.pm in @INC (@INC contains: blib/lib blib/arch /home/src/perl/repoperls/installed-perls/perl/v5.12.5/a2da/lib/site_perl/5.12.5/x86_64-linux-thread-multi-ld /home/src/perl/repoperls/installed-perls/perl/v5.12.5/a2da/lib/site_perl/5.12.5 /home/src/perl/repoperls/installed-perls/perl/v5.12.5/a2da/lib/5.12.5/x86_64-linux-thread-multi-ld /home/src/perl/repoperls/installed-perls/perl/v5.12.5/a2da/lib/5.12.5 .) at t/001_load.t line 17.
at blib/lib/HTML/Robot/Scrapper.pm line 135.
HTML::Robot::Scrapper::__ANON__[blib/lib/HTML/Robot/Scrapper.pm:136]('Type of arg 1 to keys must be hash or array (not private vari...') called at /home/src/perl/repoperls/installed-perls/perl/v5.12.5/a2da/lib/site_perl/5.12.5/Try/Tiny.pm line 100
Try::Tiny::try('CODE(0x3c105d0)', 'Try::Tiny::Catch=REF(0x45868b8)') called at blib/lib/HTML/Robot/Scrapper.pm line 136
HTML::Robot::Scrapper::_load_custom_class('HASH(0x3437b50)', 'queue', 'HASH(0xc27938)') called at blib/lib/HTML/Robot/Scrapper.pm line 105
HTML::Robot::Scrapper::BUILDARGS('HTML::Robot::Scrapper', 'reader', 'HASH(0x2c1ca48)', 'writer', 'HASH(0x84b3b8)', 'benchmark', 'HASH(0x2cb6e28)', 'cache', 'HASH(0x2cb6d20)', ...) called at /home/src/perl/repoperls/installed-perls/perl/v5.12.5/a2da/lib/site_perl/5.12.5/x86_64-linux-thread-multi-ld/Moose/Object.pm line 26
Moose::Object::new('HTML::Robot::Scrapper', 'reader', 'HASH(0x2c1ca48)', 'writer', 'HASH(0x84b3b8)', 'benchmark', 'HASH(0x2cb6e28)', 'cache', 'HASH(0x2cb6d20)', ...) called at t/001_load.t line 17
# Tests were run but no plan was declared and done_testing() was not seen.
Debugged program terminated. Use q to quit or R to restart,
HTH && Thanks,