modulereview
Adam
<A href="http://search.cpan.org/search?mode=module&query=Filter%3A%3AHandle">Filter::Handle</a><p>
This module was originally written here at the Perl Monks Monastery. It provides a simple interface allowing users to tie a filter subroutine to a filehandle. There are many things you could do with this... from labeling STDERR output as STDERR output to easily puting line numbers and timestamps in a logfile.
Apply a filter to a filehandle! Written by our own [btrott]