File::Spec->catdir( (File::Spec->splitpath(__FILE__))[1], '_TempExtlib' )
) =~ /^(.*)$/; # screw you, taint mode
+ die "TempExtlib $HERE does not seem to exist - perhaps you need to run `perl Makefile.PL` in the DBIC checkout?\n"
+ unless -d $HERE;
+
unshift @INC, $HERE;
}
sigwarn_silencer modver_gt_or_eq
fail_on_internal_wantarray fail_on_internal_call
refdesc refcount hrefaddr is_exception
- quote_sub qsub perlstring
+ quote_sub qsub perlstring serialize
UNRESOLVABLE_CONDITION
);
B::svref_2object($_[0])->REFCNT;
}
+sub serialize ($) {
+ require Storable;
+ local $Storable::canonical = 1;
+ Storable::nfreeze($_[0]);
+}
+
sub is_exception ($) {
my $e = $_[0];