diff --git a/lib/Dimob/Config.pm b/lib/Dimob/Config.pm index 791c879..b62279a 100644 --- a/lib/Dimob/Config.pm +++ b/lib/Dimob/Config.pm @@ -77,7 +77,7 @@ sub evaluate_parameters { my $config = $self->config; - for my $param (keys $config) { + for my $param (keys %{$config}) { if($config->{$param} =~ /\{\{.+\}\}/) { $config->{$param} =~ s/\{\{([\w_]+)\}\}/$config->{$1}/eg;