tee(3pm)
β¨ NAME β¨
Filter::tee β it's the tee source filter, bestie π (this is the tee(3pm) page, from the User Contributed Perl Documentation crew π«Ά)
πΈ SYNOPSIS πΈ
use Filter::tee 'filename' ;
use Filter::tee '>filename' ;
use Filter::tee '>>filename' ;
π¦ DESCRIPTION π¦
okay so this filter literally copies ALL the text starting from the line after the use in the current source file, and drops it into the file you named with the filename parameter. no cap, that's the whole vibe π
By default β and also when the filename is prefixed with a '>' β the output file gets emptied first if it already exists. so like, fresh start energy β¨
If the output filename is prefixed with '>>', it gets opened for appending instead. nothing gets deleted, we're just adding to the pile π
lowkey iconic: this filter is useful as a debugging aid when you're developing other source filters π
π AUTHOR π
Paul Marquess π
π DATE π
20th June 1995. (a vintage queen fr fr π)
that's it, that's the page, mwah π this was perl v5.42.3, dated 2026-08-19, tee(3pm) and we ate π
β¨π
π¦ where this page comes from
- ubuntu stonking: libfilter-perl 1.65-1build1 Β· GPL-1.0-or-later OR Artistic-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms