my $c = shift;
my $ref = shift;
- my ( $file, $config ) = each %$ref;
+ my ( $file, $config ) = %$ref;
$c->config( $config );
$c->log->debug( qq(Loaded Config "$file") )
# deprecation notice
if ( exists $c->config->{ file } ) {
$c->log->warn(
- q("file" config parameter has been deprecated in favor of "$c->config->{ 'Plugin::ConfigLoader' }->{ file }")
+ q(*** "file" config parameter has been deprecated in favor of "$c->config->{ 'Plugin::ConfigLoader' }->{ file }")
);
+ sleep( 3 );
}
my $appname = ref $c || $c;
# deprecation notice
if ( exists $c->config->{ config_local_suffix } ) {
$c->log->warn(
- q("config_local_suffix" config parameter has been deprecated in favor of "$c->config->{ 'Plugin::ConfigLoader' }->{ config_local_suffix }")
+ q(*** "config_local_suffix" config parameter has been deprecated in favor of "$c->config->{ 'Plugin::ConfigLoader' }->{ config_local_suffix }")
);
+ sleep( 3 );
}
my $appname = ref $c || $c;