DescriptionFormatted_show.pl is a HFPM module that instantiates (fills in) a file with field values and environmental variable values and displays the result to the user.Usageformatted_show.pl formatfile [mime-type]
in the pipeline.
Usage ExplanationThe file indicated as the first argument on the pipeline is instantiated with field values and environmental variable values as in variable encoded format. The result is returned to the user through his or her client.If the formatfile can't be found, the value of field "_comment_dir" is used as the base directory for the formatfile if that field is defined. If the second argument is given, it indicates the MIME-type of the what is returned, otherwise it is assumed to the HTML. Examples are 'text/html', 'text/plain', and 'application/postscript'. Examples
Other NotesThe current version number is 1.0.This module is not 8-bit character clean; character 255 may be clobbered. You can use the returnurl.pl module to return a fixed (possibly binary) file. The is module should work on any Unix machine. This module can be used more than once in the pipeline. See AlsoThe variable encoded format used to encode the fields and environmental variables. |