1Filter::exec(3)       User Contributed Perl Documentation      Filter::exec(3)
2
3
4

NAME

6       Filter::exec - exec source filter
7

SYNOPSIS

9           use Filter::exec qw(command parameters) ;
10

DESCRIPTION

12       This filter pipes the current source file through the program which
13       corresponds to the "command" parameter.
14
15       As with all source filters its scope is limited to the current source
16       file only. Every file you want to be processed by the filter must have
17       a
18
19           use Filter::exec qw(command ) ;
20
21       near the top.
22
23       Here is an example script which uses the filter:
24
25           use Filter::exec qw(tr XYZ PQR) ;
26           $a = 1 ;
27           print "XYZ a = $a\n" ;
28
29       And here is what it will output:
30
31           PQR = 1
32

WARNING

34       You should be very careful when using this filter. Because of the way
35       the filter is implemented it is possible to end up with deadlock.
36
37       Be especially careful when stacking multiple instances of the filter in
38       a single source file.
39

AUTHOR

41       Paul Marquess
42

DATE

44       11th December 1995.
45
46
47
48perl v5.34.0                      2021-07-22                   Filter::exec(3)
Impressum