use DBIx::Class::_Util qw( perlstring dump_value );
-use constant HAS_DOR => ( "$]" < 5.010 ? 0 : 1 );
+use constant HAS_DOR => ( ( DBIx::Class::_ENV_::PERL_VERSION < 5.010 ) ? 0 : 1 );
use base 'Exporter';
our @EXPORT_OK = qw(
our $null_branch_class = 'DBIx::ResultParser::RelatedNullBranch';
sub __wrap_in_strictured_scope {
- " { use strict; use warnings; use warnings FATAL => 'uninitialized';\n$_[0]\n }"
+ "sub { use strict; use warnings; use warnings FATAL => 'uninitialized';\n$_[0]\n }"
}
sub assemble_simple_parser {