DBICTEST => eval { DBICTest::RunMode->is_author } ? 1 : 0,
# During 5.13 dev cycle HELEMs started to leak on copy
- PEEPEENESS =>
- # request for all tests would force "non-leaky" illusion and vice-versa
- defined $ENV{DBICTEST_ALL_LEAKS} ? !$ENV{DBICTEST_ALL_LEAKS}
- # otherwise confess that this perl is busted ONLY on smokers
- : eval { DBICTest::RunMode->is_smoker } && ($] >= 5.013005 and $] <= 5.013006) ? 1
- # otherwise we are good
- : 0
- ,
+ # add an escape for these perls ON SMOKERS - a user will still get death
+ PEEPEENESS => ( eval { DBICTest::RunMode->is_smoker } && ($] >= 5.013005 and $] <= 5.013006) ),
+
+ SHUFFLE_UNORDERED_RESULTSETS => $ENV{DBIC_SHUFFLE_UNORDERED_RESULTSETS} ? 1 : 0,
ASSERT_NO_INTERNAL_WANTARRAY => $ENV{DBIC_ASSERT_NO_INTERNAL_WANTARRAY} ? 1 : 0,
sigwarn_silencer modver_gt_or_eq fail_on_internal_wantarray
refcount hrefaddr is_exception
is_plain_value is_literal_value
+ UNRESOLVABLE_CONDITION
);
+use constant UNRESOLVABLE_CONDITION => \ '1 = 0';
+
sub sigwarn_silencer ($) {
my $pattern = shift;
# intersted in are much more limited than the fullblown thing, and
# this is a relatively hot piece of code
(
- # either has stringification which DBI prefers out of the box
+ # FIXME - DBI needs fixing to stringify regardless of DBD
+ #
+ # either has stringification which DBI SHOULD prefer out of the box
#first { *{$_ . '::(""'}{CODE} } @{ mro::get_linear_isa( ref $_[0] ) }
overload::Method($_[0], '""')
or