|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /usr/local/lib/perl5/site_perl/mach/5.36/Filter/ |
Upload File : |
package Filter::tee ;
use strict;
require 5.006 ;
require XSLoader;
our $VERSION = "1.64" ;
XSLoader::load('Filter::tee');
1;
__END__
=head1 NAME
Filter::tee - tee source filter
=head1 SYNOPSIS
use Filter::tee 'filename' ;
use Filter::tee '>filename' ;
use Filter::tee '>>filename' ;
=head1 DESCRIPTION
This filter copies all text from the line after the C<use> in the
current source file to the file specified by the parameter
C<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.
=head1 AUTHOR
Paul Marquess
=head1 DATE
20th June 1995.
=cut