Glitch;
use 5.006; use strict; use warnings;
our $VERSION = '0.04';
use Glitch;
use YAML::XS;
use JSON;
use base 'Terse::Plugin';
sub build_plugin {
my ($self) = @_;
$self->build_glitch_config if $
ig_parser} = sub { YAML::XS::Load($_[0]) };
} elsif ($self->{format} eq 'JSON') {
$self->{glitch_config_parser} = sub { JSON->new->encode($_[0]) };
}
Glitch::build_meta(
map {($_, $self->{$_})}