Sprog::help::filter_gears.3pm

Langue: en

Autres versions - même langue

Version: 2005-05-08 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

Filter Gears

Filter gears are where the work gets done in a machine. A filter gear takes data in, transforms it in some way and then passes it down to the input of the next gear.

Example Filters

The Pattern Match gear is a simple filter that accepts or rejects lines of data based on whether they match a pattern.

The Parse Apache Log gear is a more complex filter that transforms the line-by-line data from the log file into structured records. This transformation is reflected in the fact that the gear's output connector is a different type to its input connector.

See also: input gears, output gears