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 current source file to the file specified by the parameter filename.
use
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 appending.
This filter is useful as a debugging aid when developing other source filters.
Paul Marquess
20th June 1995.
To install Filter::tee, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Filter::tee
CPAN shell
perl -MCPAN -e shell install Filter::tee
For more information on module installation, please visit the detailed CPAN module installation guide.