yuki-kimoto/Mojolicious-Plugin-INIConfig
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Mojolicious::Plugin::INIConfig Mojolicious::Plugin::INIConfig is a INI configuration plugin that preprocesses its input with Mojo::Template. Example # myapp.ini [section] foo=bar music_dir=<%= app->home->rel_dir('music') %> # Mojolicious my $config = $self->plugin('INIConfig'); # Mojolicious::Lite my $config = plugin 'INIConfig'; # foo.html.ep %= $config->{section}{foo} # The configuration is available application wide my $config = app->config; # Everything can be customized with options my $config = plugin INIConfig => {file => '/etc/myapp.conf'};
About
Mojolicious plugin to read ini config file
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published