On 2012.3.5 10:22 PM, David Oswald via RT wrote:
Show quoted text> I'll forward a message to modules@perl.org alerting them to the issue.
> Beyond that I'm not sure what else to do but wait for it to go away.
A simple way to make the problem go away for you would be to bump up the
Test.pm prereq to 1.13, the version which came with 5.6.0. Then they can't
use the bogus version and your distribution still doesn't require a non-core
version.
You could also just stop using Test.pm and use Test::More instead. There's
not much point to using both. Test::More has better diagnostic information,
better diagnostics, works with other Test modules and is actively developed.
Here's side-by-side equivalent statements.
use Test; use Test::More tests => 10;
BEGIN { plan tests => 10 }
ok(1); pass("Made it past compilation");
ok($obj1->get_serial, 11111); is( $obj1->get_serial, 11111 );
You can eliminate printing out the contents of each object, is() will tell you
the expected and actual value if the test fails.
--
10. Not allowed to purchase anyone's soul on government time.
-- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army
http://skippyslist.com/list/