1Exec(3) User Contributed Perl Documentation Exec(3)
2
3
4
6 Filter::Util::Exec - exec source filter
7
9 use Filter::Util::Exec;
10
12 This module is provides the interface to allow the creation of Source
13 Filters which use a Unix coprocess.
14
15 See Filter::exec, Filter::cpp and Filter::sh for examples of the use of
16 this module.
17
18 filter_add()
19 The function, "filter_add" installs a filter. It takes one parameter
20 which should be a reference. The kind of reference used will dictate
21 which of the two filter types will be used.
22
23 If a CODE reference is used then a closure filter will be assumed.
24
25 If a CODE reference is not used, a method filter will be assumed. In a
26 method filter, the reference can be used to store context information.
27 The reference will be blessed into the package by "filter_add".
28
29 See Filter::Util::Call for examples of using context information using
30 both method filters and closure filters.
31
33 Paul Marquess
34
36 11th December 1995.
37
38
39
40perl v5.16.3 2013-04-02 Exec(3)