1tee(3) User Contributed Perl Documentation tee(3)
2
3
4
6 Filter::tee - tee source filter
7
9 use Filter::tee 'filename' ;
10 use Filter::tee '>filename' ;
11 use Filter::tee '>>filename' ;
12
14 This filter copies all text from the line after the "use" in the
15 current source file to the file specified by the parameter "filename".
16
17 By default and when the filename is prefixed with a '>' the output file
18 will be emptied first if it already exists.
19
20 If the output filename is prefixed with '>>' it will be opened for
21 appending.
22
23 This filter is useful as a debugging aid when developing other source
24 filters.
25
27 Paul Marquess
28
30 20th June 1995.
31
32
33
34perl v5.30.0 2019-07-26 tee(3)