Marquee Marquee::SSIHandler::EPL - EPL template handler

TABLE OF CONTENTS

NAME

Marquee::SSIHandler::EPL - EPL template handler

SYNOPSIS

my $epl = Marquee::SSIHandler::EPL->new;
$epl->render('/path/to/template.html.ep');

DESCRIPTION

EPL handler.

ATTRIBUTES

Marquee::SSIHandler::EPL inherits all attributes from Marquee::SSIHandler and implements the following new ones.

template_cache

my $cache = $epl->template_cache;

INSTANCE METHODS

Marquee::SSIHandler::EPL inherits all instance methods from Marquee::SSIHandler and implements the following new ones.

cache

Get or set cache.

$epl->cache('/path/to/template.html.ep', $mt);
my $mt = $epl->cache('/path/to/template.html.ep');

render

Renders given template and returns the result. If rendering fails, die with Mojo::Exception.

$epl->render('/path/to/template.html.epl');

SEE ALSO

Marquee::SSIHandler, Marquee, Mojolicious