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
Copyright and license
Copyright (C) 2006-2007 by Xavier Guimard <[email protected]>
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.