DescriptionGetcount.pl is a HFPM module that sets environmental variable "count" to the number stored in a specified file, incrementing that number. This can be used to keep track of the number of accesses to a page.Usagegetcount.pl [countfile]
in the pipeline.
Usage ExplanationThe environmental variable "count" is set to the number stored in the countfile, which is then incremented by one.The countfile to use is specified (in decreasing order of precedence) on the command line, in the field "_countfile", or in a file called "count". If the field "_comment_dir" is set, then it is used as the assumed base directory for the countfile unless the countfile is found without it. Examples
Other NotesThe current version number is 1.0.The is module should work on any Unix machine. This module can be used more than once in the pipeline. See AlsoTo set an arbitrary field or environmental variable instead of just the "count" environmental variable, use getcount.pl followed by copy.pl. |