File: LastModified.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 (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;