CGI-Portable
view release on metacpan or search on metacpan
lib/DemoUsage.pm view on Meta::CPAN
=head1 NAME
DemoUsage - Demo of CGI::Portable that tracks web site usage details,
as well as e-mail backups of usage counts to the site owner.
=cut
######################################################################
package DemoUsage;
require 5.004;
# Copyright (c) 1999-2004, Darren R. Duncan. All rights reserved. This module
# is free software; you can redistribute it and/or modify it under the same terms
# as Perl itself. However, I do request that this copyright information and
# credits remain attached to the file. If you modify this module and
# redistribute a changed version then please attach a note listing the
# modifications. This module is available "as-is" and the author can not be held
# accountable for any problems resulting from its use.
use strict;
use warnings;
use vars qw($VERSION);
$VERSION = '0.51';
######################################################################
=head1 DEPENDENCIES
=head2 Perl Version
5.004
=head2 Standard Modules
Fcntl
Symbol
Net::SMTP 2.15 (earlier versions may work)
=head2 Nonstandard Modules
CGI::Portable 0.50
=cut
######################################################################
use CGI::Portable 0.50;
######################################################################
=head1 SYNOPSIS
=head2 A multiple page website with static html, mail, gb, redir, usage tracking
#!/usr/bin/perl
use strict;
use warnings;
require CGI::Portable;
my $globals = CGI::Portable->new();
use Cwd;
$globals->file_path_root( cwd() ); # let us default to current working dir
( run in 1.845 second using v1.01-cache-2.11-cpan-39bf76dae61 )