APISchema

 view release on metacpan or  search on metacpan

t/test/InheritedDocument.pm  view on Meta::CPAN

4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
use parent qw(https://metacpan.org/pod/Plack::App::APISchema::Document">Plack::App::APISchema::Document);
 
1;
__DATA__
@@ template.mt
? my ($title, $body) = @_;
<!DOCTYPE html>
<html>
  <head>
    <title><?= $title ?></title>
    <style>* { color: pink; }</style>
  </head>
  <body>
    <?= encoded_string($body) ?>
  </body>
</html>



( run in 2.985 seconds using v1.01-cache-2.11-cpan-9b1e4054eb1 )