Could not eval expression '$result_namespace' for result_namespace from
$filename: $@
EOF
- $result_namespace = $ds;
+ $result_namespace = $ds || '';
if ($load_classes && (not defined $self->use_namespaces)) {
warn <<"EOF" unless $ENV{SCHEMA_LOADER_BACKCOMPAT};
schema => [
qr/package DBICTest::DumpMore::1;/,
qr/->load_namespaces/,
- qr/result_namespace => 'Res'/,
- qr/resultset_namespace => 'RSet'/,
- qr/default_resultset_class => 'RSetBase'/,
+ qr/result_namespace => "Res"/,
+ qr/resultset_namespace => "RSet"/,
+ qr/default_resultset_class => "RSetBase"/,
],
'Res/Foo' => [
qr/package DBICTest::DumpMore::1::Res::Foo;/,
schema => [
qr/package DBICTest::DumpMore::1;/,
qr/->load_namespaces/,
- qr/result_namespace => '\+DBICTest::DumpMore::1::Res'/,
- qr/resultset_namespace => 'RSet'/,
- qr/default_resultset_class => 'RSetBase'/,
+ qr/result_namespace => "\+DBICTest::DumpMore::1::Res"/,
+ qr/resultset_namespace => "RSet"/,
+ qr/default_resultset_class => "RSetBase"/,
qr/use base 'My::SchemaBaseClass'/,
],
'Res/Foo' => [