Skip Menu |

This queue is for tickets about the Best CPAN distribution.

Report information
The Basics
Id: 20205
Status: resolved
Priority: 0/
Queue: Best

People
Owner: Nobody in particular
Requestors: MTHURN [...] cpan.org
Cc: martin.thurn [...] ngc.com
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.05
Fixed in: (no value)



CC: martin.thurn [...] ngc.com
Subject: need 'use Carp;'
Perl 5.9 and newer doesn't let you 'require' or 'use' modules at runtime. Please add 'use Carp' at the top of your module in order to make it usable in the future. Thank you. t/01-basic.......String found where operator expected at /disk1/src/PERL/.cpanplus/5.9.2/build/Best-0.05/blib/lib/Best.pm line 71, near "Carp::carp "Best: what modules shall I load?"" (Do you need to predeclare Carp::carp?) syntax error at /disk1/src/PERL/.cpanplus/5.9.2/build/Best-0.05/blib/lib/Best.pm line 71, near "Carp::carp "Best: what modules shall I load?"" Compilation failed in require at t/01-basic.t line 11. BEGIN failed--compilation aborted at t/01-basic.t line 11. # Looks like your test died before it could output anything. t/01-basic.......dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-5 Failed 5/5 tests, 0.00% okay -- - - Martin 'Kingpin' Thurn
Fixed in 0.06. The problem was that the call didn't use parens around the arguments (I don't know why this manifested in bleadperl and not in 5.8.x). Perl very hopefully still supports require at runtime.