Group
Extension

Matches 2

App-Dapper ( M/MD/MDB/App-Dapper-0.21.tar.gz, MDB, 2025; MetaCPAN )
App-Dapper/lib/App/Dapper.pm ( view source; MetaCPAN )
:replace_last,
            'smart' => \&App::Dapper::Filters::smart,
            'json' => \&App::Dapper::Filters::json,
        },
        #ERROR => 'alloy_errors.html', 
        EVAL_PERL => $ENV{EV
App-Dapper ( M/MD/MDB/App-Dapper-0.21.tar.gz, MDB, 2025; MetaCPAN )
App-Dapper/lib/App/Dapper/Filters.pm ( view source; MetaCPAN )
            'replace_last' => \&replace_last,
#            'smart' => \&smart,
#            'json' => \&json,
#        },
#    });
#}

=head2 xml_escape

Liquid filter to escape strings into formats t
s/([^-])---([^-])/$1\—$2/g;

    return $input;
}

=head2 json

Turn string into json-formatted string.

=cut 

use JSON;
sub json {
    my $input = shift;

    my $flags = {
        allow_bless
ed => 1,
        allow_barekey => 1,
        allow_nonref => 1,
        utf8 => 1,
        pretty => 1
    };

    return to_json($input, $flags);
}

1;

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