---
name: "Lemonldap::NG::Manager::Base"
section: "3pm"
platform: "linux"
package: "liblemonldap-ng-manager-perl"
version: "0.9.2-1.1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/Lemonldap::NG::Manager::Base"
---

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

Simple module to extend CGI to manage HTTP "If-Modified-Since / 304 Not Modified" system.

## NAME

Lemonldap::NG::Manager::Base - Simple module to extend CGI to manage HTTP "If-Modified-Since / 304 Not Modified" system.

## SYNOPSIS

```
  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>";
  ...
```

## DESCRIPTION

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

## SEE ALSO

Lemonldap::NG::Manager, CGI, http://wiki.lemonldap.objectweb.org/xwiki/bin/view/NG/Presentation

## AUTHOR

Xavier Guimard, \<x.guimard@free.fr\>

## COPYRIGHT AND LICENSE

Copyright (C) 2006-2007 by Xavier Guimard \<x.guimard@free.fr\>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.
