Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Funky Test Failure, How to Correct

by Khen1950fx (Canon)
on Feb 23, 2014 at 18:40 UTC ( #1075901=note: print w/ replies, xml ) Need Help??


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:

#!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" );
I used lib because perl doesn't see PERL5LIB under taint.


Comment on Re: Funky Test Failure, How to Correct
Download Code
Re^2: Funky Test Failure, How to Correct
by Anonymous Monk on Feb 23, 2014 at 22:29 UTC

    to prevent these type of failures, you could do something like this

    Unlikely to make any difference here

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1075901]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (16)
As of 2015-07-02 17:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (44 votes), past polls