sigwarn_silencer modver_gt_or_eq
fail_on_internal_wantarray fail_on_internal_call
refdesc refcount hrefaddr is_exception
+ perlstring
UNRESOLVABLE_CONDITION
);
return sub { &$orig_sig_warn unless $_[0] =~ $pattern };
}
+sub perlstring ($) { q{"}. quotemeta( shift ). q{"} };
+
sub hrefaddr ($) { sprintf '0x%x', &Scalar::Util::refaddr||0 }
sub refdesc ($) {
use lib qw(t/lib);
use DBICTest;
use B::Deparse;
+use DBIx::Class::_Util 'perlstring';
# globally set for the rest of test
# the rowparser maker does not order its hashes by default for the miniscule
skip "Not testing equality of source containing defined-or operator on this perl $]", 1
if ($] < 5.010 and$expect =~ m!\Q//=!);
- $expect =~ s/__NBC__/B::perlstring($DBIx::Class::ResultSource::RowParser::Util::null_branch_class)/ge;
+ $expect =~ s/__NBC__/perlstring($DBIx::Class::ResultSource::RowParser::Util::null_branch_class)/ge;
$expect = " { use strict; use warnings FATAL => 'all';\n$expect\n }";