| Server IP : 103.4.122.14 / Your IP : 216.73.216.103 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips System : Linux cwp2.slnet.com.au 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : statewid ( 1251) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib64/perl5/vendor_perl/Filter/ |
Upload File : |
package Filter::tee ;
require 5.002;
require DynaLoader;
use strict;
use warnings;
use vars qw( @ISA $VERSION);
@ISA = qw(DynaLoader);
$VERSION = "1.49" ;
bootstrap 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