File: TestApp.pm

package info (click to toggle)
libcatalyst-view-tt-perl 0.46-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 336 kB
  • sloc: perl: 710; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 527 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package TestApp;

use strict;
use warnings;

use Catalyst; # qw/-Debug/;
use Path::Class;
use TestLogger;

our $Log = TestLogger->new;

our $VERSION = '0.01';

__PACKAGE__->log( $Log );

__PACKAGE__->config(
    name                  => 'TestApp',
    default_message       => 'hi',
    default_view          => 'TT::Pkgconfig',
    'View::TT::Appconfig' => {
        PRE_CHOMP          => 1,
        POST_CHOMP         => 1,
        TEMPLATE_EXTENSION => '.tt',
        render_die         => 1,
    },
);

__PACKAGE__->setup;