NAME CGI::CIPP - Use CIPP embedded HTML Pages in a CGI environment DESCRIPTION CGI::CIPP is a Perl module which enables you to use CIPP on every CGI capable webserver. It is based on a central wrapper script, which does all the preprocessing. It executes the generated Perl code directly afterwards. Additionally, it implements a filesystem based cache for the generated code. Preprocessing is done only when the corresponding CIPP source code changed on disk, otherwise this step is skipped. WHAT IS CIPP? CIPP is a Perl module for translating CIPP sources to pure Perl programs. CIPP defines a HTML embedding language also called CIPP which has powerful features for CGI and database developers. Many standard CGI and database operations (and much more) are covered by CIPP, so the developer does not need to code them again and again. CIPP is not part of this distribution, please download it from CPAN. SIMPLE CIPP EXAMPLE To give you some imagination of what you can do with CIPP: here is a (really) simple example of using CIPP in a HTML source to retrieve some information from a database. Think this as a HTML page which is "executed" on the fly by your webserver. Note: there is no code to connect to the database. This is done implicitely. The configuration is taken from the central CGI::CIPP wrapper srcipt. # print table of users who match the given parameter
Name | Adress | Phone |
$n | $a | $p |