tee(3) User Contributed Perl Documentation tee(3)
Filter::tee - tee source filter
use Filter::tee 'filename' ;
use Filter::tee '>filename' ;
use Filter::tee '>>filename' ;
This filter copies all text from the line after the "use" in the cur-
rent source file to the file specified by the parameter "filename".
By default and when the filename is prefixed with a '>' the output file
will be emptied first if it already exists.
If the output filename is prefixed with '>>' it will be opened for
This filter is useful as a debugging aid when developing other source
20th June 1995.
perl v5.8.0 2003-01-27 tee(3)