rnings;
use Message::Match qw(mmatch);
use Message::Transform qw(mtransform);
use File::Find;
use JSON;
sub new {
my $class = shift;
my $self = {};
bless ($self, $class);
return $sel
_from_directory: $@\n" if $@;
my $conf;
eval {
$conf = decode_json $contents or die 'failed to decode_json';
};
return unless $conf;
if(not ref $conf) {
# die "Messa
open my $fh, '>', $path or die "failed to open $path for write: $!";
print $fh JSON->new->canonical(1)->pretty(1)->encode($message);
close $fh or die "failed to close $p