in reply to Funky Test Failure, How to Correct
FWIW, all your tests passed for me; however, to prevent these
type of failures, you could do something like this:
I used lib because perl doesn't see PERL5LIB under taint.#!perl -T use strict; use lib qw(blib/arch blib/lib); use Test::More tests => 1; BEGIN { use_ok( 'PGObject::Type::DateTime' ) || print "Bail out!\n"; } diag( "Testing PGObject::Type::DateTime $PGObject::Type::DateTime::VER +SION, Perl $], $^X" );
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Funky Test Failure, How to Correct
by Anonymous Monk on Feb 23, 2014 at 22:29 UTC |
In Section
Seekers of Perl Wisdom