16 Sep
2016
16 Sep
'16
10:38 a.m.
On 16/09/16 11:27, Stefan Hornburg (Racke) wrote:
I was after the db_info key however, and was getting the plugin settings instead. This gets resolved if I ask for $dsl->app->config->{'db_info'} instead of $dsl->config->{'db_info'}
Still not sure why $dsl->config->{'db_info'} returns the data for $dsl->config->{'plugins'}->{'ESS2::Auth'} Because the first parameter is the $plugin object and not a DSL object :-). I am not sure I understand, sorry :) So effectively $dsl->config when used within a plugin has the same effect as $dsl->plugin_setting?