File: LastModified.pm

package info (click to toggle)
libcgi-application-plugin-tt-perl 1.05-4
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 368 kB
  • ctags: 82
  • sloc: perl: 647; sh: 28; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 270 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package TestApp::LastModified;

use strict;
use base qw(TestApp::base);
use CGI::Application::Plugin::TT::LastModified;

sub test {
    my $self = shift;
    my $html = $self->tt_process( 'index.html' );
    $self->tt_set_last_modified_header();
    return $html;
}

1;