Subject: | undeclared dependency on File::Slurp |
Also, please consider using one of the many File::Slurp alternatives on CPAN which is better maintained:
http://blogs.perl.org/users/leon_timmermans/2015/08/fileslurp-is-broken-and-wrong.html
Subject: | rose.planter.log.txt |
twin% prove -b
t/01-fooparams.t .. 1/?
# Failed test 'used Rose::Planter'
# at t/01-fooparams.t line 50.
# Can't locate File/Slurp.pm in @INC (you may need to install the File::Slurp module) (@INC contains: /home/ollisg/.cpanm/work/1446463769.26257/Rose-Planter-0.36/blib/lib /home/ollisg/.cpanm/work/1446463769.26257/Rose-Planter-0.36/blib/arch /home/ollisg/.perlbrew/libs/perl-5.23.4t@dev/lib/perl5/x86_64-linux-thread-multi /home/ollisg/.perlbrew/libs/perl-5.23.4t@dev/lib/perl5 /home/ollisg/.perlbrew/libs/perl-5.23.4t@dev/lib/perl5/x86_64-linux-thread-multi /home/ollisg/.perlbrew/libs/perl-5.23.4t@dev/lib/perl5 /home/ollisg/perl5/perlbrew/perls/perl-5.23.4t/lib/site_perl/5.23.4/x86_64-linux-thread-multi /home/ollisg/perl5/perlbrew/perls/perl-5.23.4t/lib/site_perl/5.23.4 /home/ollisg/perl5/perlbrew/perls/perl-5.23.4t/lib/5.23.4/x86_64-linux-thread-multi /home/ollisg/perl5/perlbrew/perls/perl-5.23.4t/lib/5.23.4 .) at /home/ollisg/.cpanm/work/1446463769.26257/Rose-Planter-0.36/blib/lib/Rose/Planter.pm line 75.
# at /home/ollisg/.cpanm/work/1446463769.26257/Rose-Planter-0.36/blib/lib/Rose/Planter.pm line 75.
# Rose::Planter::BEGIN() called at /home/ollisg/.cpanm/work/1446463769.26257/Rose-Planter-0.36/blib/lib/Rose/Planter.pm line 75
# eval {...} called at /home/ollisg/.cpanm/work/1446463769.26257/Rose-Planter-0.36/blib/lib/Rose/Planter.pm line 75
# require Rose/Planter.pm called at (eval 62) line 2
# main::BEGIN() called at /home/ollisg/.cpanm/work/1446463769.26257/Rose-Planter-0.36/blib/lib/Rose/Planter.pm line 75
# eval {...} called at /home/ollisg/.cpanm/work/1446463769.26257/Rose-Planter-0.36/blib/lib/Rose/Planter.pm line 75
# eval ' use Rose::Planter
# loader_params =>
# { db_class => "My::DB",
# class_prefix => "My::Object",
# }
# ' called at t/01-fooparams.t line 43
# main::BEGIN() called at /home/ollisg/.cpanm/work/1446463769.26257/Rose-Planter-0.36/blib/lib/Rose/Planter.pm line 75
# eval {...} called at /home/ollisg/.cpanm/work/1446463769.26257/Rose-Planter-0.36/blib/lib/Rose/Planter.pm line 75
# BEGIN failed--compilation aborted at /home/ollisg/.cpanm/work/1446463769.26257/Rose-Planter-0.36/blib/lib/Rose/Planter.pm line 75.
# at /home/ollisg/.cpanm/work/1446463769.26257/Rose-Planter-0.36/blib/lib/Rose/Planter.pm line 75.
# require Rose/Planter.pm called at (eval 62) line 2
# main::BEGIN() called at /home/ollisg/.cpanm/work/1446463769.26257/Rose-Planter-0.36/blib/lib/Rose/Planter.pm line 75
# eval {...} called at /home/ollisg/.cpanm/work/1446463769.26257/Rose-Planter-0.36/blib/lib/Rose/Planter.pm line 75
# eval ' use Rose::Planter
# loader_params =>
# { db_class => "My::DB",
# class_prefix => "My::Object",
# }
# ' called at t/01-fooparams.t line 43
# main::BEGIN() called at /home/ollisg/.cpanm/work/1446463769.26257/Rose-Planter-0.36/blib/lib/Rose/Planter.pm line 75
# eval {...} called at /home/ollisg/.cpanm/work/1446463769.26257/Rose-Planter-0.36/blib/lib/Rose/Planter.pm line 75
# Compilation failed in require at (eval 62) line 2.
# at (eval 62) line 2.
# main::BEGIN() called at (eval 62) line 6
# eval {...} called at (eval 62) line 6
# eval ' use Rose::Planter
# loader_params =>
# { db_class => "My::DB",
# class_prefix => "My::Object",
# }
# ' called at t/01-fooparams.t line 43
# main::BEGIN() called at (eval 62) line 6
# eval {...} called at (eval 62) line 6
# BEGIN failed--compilation aborted at (eval 62) line 6.
# at (eval 62) line 6.
# eval ' use Rose::Planter
# loader_params =>
# { db_class => "My::DB",
# class_prefix => "My::Object",
# }
# ' called at t/01-fooparams.t line 43
# main::BEGIN() called at (eval 62) line 6
# eval {...} called at (eval 62) line 6
# Testing Rose::Planter , Perl 5.023004, /home/ollisg/perl5/perlbrew/perls/perl-5.23.4t/bin/perl5.23.4
Can't locate object method "new" via package "My::Object::Foo" (perhaps you forgot to load "My::Object::Foo"?) at t/01-fooparams.t line 63.
at t/01-fooparams.t line 63.
# Looks like you failed 1 test of 1.
# Looks like your test exited with 255 just after 1.
t/01-fooparams.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests
t/pod-coverage.t .. 1/5
# Failed test 'Pod coverage on Rose::Planter'
# at /home/ollisg/.perlbrew/libs/perl-5.23.4t@dev/lib/perl5/Test/Pod/Coverage.pm line 133.
# Rose::Planter: requiring 'Rose::Planter' failed
# Looks like you failed 1 test of 5.
t/pod-coverage.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests
t/pod.t ........... ok
Test Summary Report
-------------------
t/01-fooparams.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
t/pod-coverage.t (Wstat: 256 Tests: 5 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=3, Tests=11, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.93 cusr 0.07 csys = 1.03 CPU)
Result: FAIL
twin% cpanm File::Slurp
--> Working on File::Slurp
Fetching http://mirror.sydney.wdlabs.com/cpan/authors/id/U/UR/URI/File-Slurp-9999.19.tar.gz ... OK
Configuring File-Slurp-9999.19 ... OK
Building and testing File-Slurp-9999.19 ... OK
Successfully installed File-Slurp-9999.19
1 distribution installed
twin% prove -b
t/01-fooparams.t .. 1/? # Testing Rose::Planter 0.36, Perl 5.023004, /home/ollisg/perl5/perlbrew/perls/perl-5.23.4t/bin/perl5.23.4
t/01-fooparams.t .. ok
t/pod-coverage.t .. ok
t/pod.t ........... ok
All tests successful.
Files=3, Tests=13, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.99 cusr 0.04 csys = 1.06 CPU)
Result: PASS