Lemonldap::NG::Manager::Base(3pm)

Lemonldap::NG::Manager::Base3pm

Simple module to extend cgi to manage http "if-modified-since / 304 not modified" system.

Usage

  use Lemonldap::NG::Manager::Base;
  
  my $cgi = Lemonldap::NG::Manager::Base->new();
  $cgi->header_public($ENV{SCRIPT_FILENAME});
  print "<html><head><title>Static page</title></head>";
  ...

Overview

Lemonldap::NG::Manager::Base just add header_public subroutine to CGI module to avoid printing HTML elements that can be cached.

Methods

header_public

header_public works like header (see CGI) but the first argument has to be a filename: the last modify date of this file is used for reference.

Export

Author

Xavier Guimard, <[email protected]>

From liblemonldap-ng-manager-perl 0.9.2-1.1 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.