Projects / WPP


WPP is a small perl5 script that allows preprocessing of HTML files. It allows you to define "variables", which are brief abbreviations for longer constructs, and include common HTML fragments. It's useful for giving a uniform layout to different HTML pages. It can be used in cgi-bin programs for automatic generation of pages. With less HTML code inside you can make more flexible cgi-scripts.

Operating Systems

Recent releases

  •  09 Jul 2004 17:43

    Release Notes: Safe eval code has been removed. INLINE error now prints eval code with line numbers. You can safely use print inside Eval code instead of returning output.

    •  08 Jun 2003 12:37

      Release Notes: RURL was removed from wpplib, and is now a built-in macro instead. Built-in macros use internally relativized paths through RURL. CERN2HTML and NCSA2HTML relativize URLs in map tags. Debian packaging files were added. A bug in WPP::call which occurred when calling built-in macros was fixed. The arguments to WPP::get, WPP::set, WPP::eval, and WPP::canonpath are now checked. WPP::set now checks the variable name. Minor internal code cleanups were made.

      •  05 Jun 2003 10:45

        Release Notes: This version fixes a directory bug when creating with "./ {file}.raw", and some code cleanups.

        •  03 Jun 2003 05:47

          Release Notes: Deps generation cleanups were done. 'use strict' is enabled by default. All the warnings and errors now print the file and line. Some path generation code and other misc. code was also cleaned up.

          •  10 Mar 2003 09:36

            Release Notes: This release adds a SYSTEM_PP macro alias, and fixes some warning messages with Safe module shipped with Perl 5.6.1. The client/server side map related macros now have support for map id. This version uses Term::ANSIColor for outputting bold messages when required. There is a new switch "-u", "--unsafe-eval" for disabling Safe module and using the standard "eval" function. The FILE_SIZE now can output values in bytes, KB, MB, etc. An EVAL error will result in a full dump of the inlined code with the error message.

            Recent comments

            03 Jun 2003 02:18 lm

            Re: Isn't this...
            not really, but since I'm using it for my own works I've released it some years ago.

            03 Jun 2003 02:15 sn

            Isn't this...
            ... yet another template engine?


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.