DescriptionSetrhost.pl is a HFPM module that sets given field(s) or environmental variable(s) to the value of the "REMOTE_HOST" environmental variable if available otherwise to the "REMOTE_ADDR" environmental variable.Usagesetrhost.pl {$field | envvar | %envvar}
in the pipeline.
Usage ExplanationThe fields and environmental variables are set to the value of the "REMOTE_HOST" or "REMOTE_ADDR" environmental variable. If none are specified, then the environmental variable "rhost" is used as the destination.A '$' prefix means a field destination and a '%' prefix indicates the destination is an environmental variable, which is the default. 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. |