DescriptionSetifempty.pl is a HFPM module that sets given field(s) to a given value if it was not already set to a value (other than the empty string or 0).Usagesetifempty.pl {field=value}
in the pipeline.
Usage ExplanationItems to be set are indicated arguments in the form dest=val. The destination is indicated in the left hand side of arguments. The right hand side is the value to set the destination to.The assignment only takes place if the destination is not already set. Examples
Other NotesThe current version number is 1.0.This module should work on any platform with a perl version 5 and CGI FPI implementation. This module can be used more than once in the pipeline. |