-
I've decided, perhaps unwisely, to convert from a stored hash image and the standard config plugin to INIConfig: https://metacpan.org/pod/Mojolicious::Plugin::INIConfig So I have:
which puts the config nicely into $self:
but I need this:
because the rest of the application (right or wrong) is coded that way. So how do I load Thanks in advance Hugh B |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It is also loaded into |
Beta Was this translation helpful? Give feedback.
It is also loaded into
app->config
, have you tried it? It will parse it into the subsection, in your example underscore which is the subsection Config::Tiny parses the main section into:app->config->{_}{mailpath}