Commit 88025497 authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

require requires a bareword but we have a scalar, so use eval.

parent 93c1ca09
......@@ -298,7 +298,9 @@ sub load_all {
$adaptor, $section );
}
require($adaptor);
eval "require $adaptor";
if ($@) { die($@) }
$adaptor->new(%adaptor_args);
} ## end foreach my $section ( $cfg->Sections...
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment