develooper Front page | perl.dbi.dev | Postings from May 2008

$dbh->{CachedKids}

Thread Next
From:
David E . Wheeler
Date:
May 2, 2008 13:23
Subject:
$dbh->{CachedKids}
Howdy,

I started getting test failures for Exception::Class::DBI on Perl 5.6  
recently. The failures seem to be due to this test:

# For some reason, under perl < 5.8.0, $dbh->{Kids} returns a  
different value
# inside the HandleError scope than it does outside that scope. So we're
# checking for the perl version here to cover our butts on this test.  
This may
# be fixed in the DBI soon.
is( $err->kids, ($] < 5.008 ? 1 : 0), "Check kids" );

Was this fixed in the DBI? If so, in what version (I saw a change to  
CachedKids in 1.55 that looked close, but that's not the same as  
{kids}, is it?)?

Thanks,

david

Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About