logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Filter::tee - tee source filter

Author

       Paul Marquess

Date

       20th June 1995.

perl v5.40.0                                       2024-11-17                                           tee(3pm)

Description

       This filter copies all text from the line after the "use" in the current 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 appending.

       This filter is useful as a debugging aid when developing other source filters.

Name

       Filter::tee - tee source filter

Synopsis

           use Filter::tee 'filename' ;
           use Filter::tee '>filename' ;
           use Filter::tee '>>filename' ;

See Also