Mojolicious::Plugin::AdvancedMod::Configurator - Configuration change by MOJO_MODE
Reads the yml/json stream from a file instead of a string
If your configuration has a file.(yml|json), Configurator replace the value of the contents of the file
Eval code
... $self->configurator( file => 'etc/conf.yml' eval => { development => { code => '..', key => 'db' }, production => { code => '..' }, overall => { secret_key: 28937489273897 } }, ); ... print self->stash( 'configurator' )->{db_name};
Grishkovelli grishkovelli@gmail.com
https://github.com/grishkovelli/Mojolicious-Plugin-AdvancedMod
Copyright (C) 2013, 2014 Grishkovelli grishkovelli@gmail.com
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Mojolicious::Plugin::AdvancedMod, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::AdvancedMod
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::AdvancedMod
For more information on module installation, please visit the detailed CPAN module installation guide.