Projects / WPP

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.

Tags
Licenses
Operating Systems
Implementation

RSS Recent releases

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.

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 03:45

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

  •  02 Jun 2003 22: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.

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.

RSS 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?

Screenshot

Project Spotlight

Collax V-Cube+

Virtualization and HA Management of virtual machines and embedded HA Storage.

Screenshot

Project Spotlight

JavaMelody

A program for monitoring JavaEE applications.