Description is a HFPM module that reports the value of form fields and environmental variables in an HTML format.

Usage {$fld | fld |%envvar} in the pipeline.

Usage Explanation

The fields and environmental variables given are as arguments to the program and the non-null ones are displayed back to the user in an HTML format. If none are given as arguments, then a whitespace-separated list of arguments are taken from the "_show_vals" field.

A '%' prefix indicates the argument is an environmental variable and a '$' prefix means a form field argument, which is the default. In addition, a field or environmental variable pseudo-name of "all" refers to all fields or environmental variables except those that are null or whose name begins with an underscore ("_").

The field "_title" is used as the title for the HTML page produced.


" $username comments %HTTP_USER_AGENT" on the pipeline
This returns something like this.
"" on the pipeline, "$all %all _title" in the field "_show_vals", and "Your comments" in the field "_title"
This returns something like this.

Other Notes

The current version number is 1.0.

This module should work on any platform with a perl version 5 and CGI FPI implementation.

This module shouldn't be used more than once in the pipeline or used with another module that returns something to the user.

See Also

The variable encoded format used to encode the fields and environmental variables.
[HFPM Home] [Please comment]
Copyright © by James Hoagland |
29 January 1996