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 Note that the size of the buffers is limited to 32-bit.
19
20 filter_add()
21 The function, "filter_add" installs a filter. It takes one parameter
22 which should be a reference. The kind of reference used will dictate
23 which of the two filter types will be used.
24
25 If a CODE reference is used then a closure filter will be assumed.
26
27 If a CODE reference is not used, a method filter will be assumed. In a
28 method filter, the reference can be used to store context information.
29 The reference will be blessed into the package by "filter_add".
30
31 See Filter::Util::Call for examples of using context information using
32 both method filters and closure filters.
33
35 Paul Marquess
36
38 11th December 1995.
39
40
41
42perl v5.26.3 2017-11-15 Exec(3)