Group
Extension

Matches 1

Mojolicious-Plugin-ConfigGeneral ( A/AB/ABALAMA/Mojolicious-Plugin-ConfigGeneral-1.04.tar.gz, ABALAMA, 2024; MetaCPAN )
Mojolicious-Plugin-ConfigGeneral/lib/Mojolicious/Plugin/ConfigGeneral.pm ( view source; MetaCPAN )
rs of this plugin are allows get access to configuration parameters by path-pointers.
See L<Mojo::JSON::Pointer> and L<RFC 6901|https://tools.ietf.org/html/rfc6901>

=over 8

=item conf-E<gt>get

    
se Mojo::Base 'Mojolicious::Plugin';
use Config::General qw//;
use Mojo::File qw/path/;
use Mojo::JSON::Pointer qw//;

use constant DEFAULT_CG_OPTS => {
    '-ApacheCompatible' => 1, # Makes possible 
r false values, will be normalised to 1 or 0 respectively
};

has 'config_pointer' => sub { Mojo::JSON::Pointer->new };

sub register {
    my ($self, $app, $args) = @_;

    # NoLoad
    my $noload =

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.