File: TestAppDevPopup.pm

package info (click to toggle)
libcgi-application-plugin-tt-perl 1.05%2B~cs1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 440 kB
  • sloc: perl: 806; makefile: 17
file content (25 lines) | stat: -rw-r--r-- 426 bytes parent folder | download | duplicates (5)
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
package TestAppDevPopup;

use strict;

use base qw(TestAppBase);
use CGI::Application::Plugin::DevPopup;

sub test_mode {
    my $self = shift;
    my $tt_vars = {
                    template_var => 'template param.',
                    html_var => '<div class="test"></div>'
    };

    return $self->tt_process(\*DATA, $tt_vars);
}

1;

# The test template file is below in the DATA segment

__DATA__

[% template_var %]