With these modules, writing large CGI programs, or console applications in Perl is even less difficult.
Most of my CGI programs use them aswell. The features include script location detection,
e-mailing, template parsing, ASCII convertions. You're allowed to use the modules aswell,
but not to abuse them. Details about that are discussed in the provided readme file.
Coding Domain Perl Modules
Version:
Author:
Diederik van der Boor
Date:
Requirements:
o For CGI Scripts: A webserver (personal or remotely hosted) o For CGI Scripts: CGI support; Server has to allow/be able to run *personal* CGI programs. o Perl 5.005 installed for processing scripts. o Perl modules: Fcntl. o Optional E-mail functionality: sendmail (UNIX mostly) or the Net::SMTP module (Win32 mostly). o Some brains ;-)
Features:
Detection of script's location at the webserver
Better error messages, posibility to show a personal message (callbacks)
Template file parsing for better integration in your website
Converting high ASCII's to HTML escape codes and back
Simple routines for using flat text databases
Input validation
Mail sender module
Changing the epoch time in written time string, using language packs.
Timezone convertor.
Location script fixes some bugs caused by Microsoft ® Internet Information Server ® Software
Hiding of server absolute paths in the error message
Testing IP addresses and blocks
Module Documentation
These documentations are also includes in the module files aswell. This is simply the online version of it.
This is discussed in detail in the provided readme file. Here is a sort summary.
If you have root access to your machine/webserver, copy file directoy structure to the perl/lib folder.
Alternatively, copy the files into the 'current directory' of the (CGI) script (usually cgi-bin for CGI scripts).
For CGI scripts running under the Microsoft ® Internet Information Server ® (version 5.0 and lower), copy the directoy structure to the WWW-root folder.
How to use the modules for your scripts
You may implement these modules in your programs.
How you can do that, is fully described in the modules themself,
and the documentation is also available online.
Type perldoc module name at a terminal window,
E.g. perldoc CGI::Location.
Please don't change the names for the modules. You're allowed to use
them, not abuse them. If any bugs show up, let me know.
Don't re-distrubute new versions of the modules yourself.