Permalink
Browse files

Added deprecation note.

  • Loading branch information...
1 parent 0dfb64a commit 1faf8d9bd708a5fa72ee66326e36177ffd11a8a6 Benjamin Trott committed Feb 14, 2011
Showing with 11 additions and 3 deletions.
  1. +7 −3 README
  2. +4 −0 lib/Filter/Handle.pm
View
10 README
@@ -4,18 +4,22 @@ NAME
SYNOPSIS
use Filter::Handle;
my $f = Filter::Handle->new(\*STDOUT);
- $f->print(...);
+ $f->print("foo");
use Filter::Handle qw/subs/;
Filter \*STDOUT;
- ...
+ # ...
UnFilter \*STDOUT;
tie *STDOUT, 'Filter::Handle', \*HANDLE;
- ...
+ # ...
untie *STDOUT;
DESCRIPTION
+ NOTE: Filter::Handle is now deprecated and is no longer on CPAN. The
+ feature implemented here can be implemented in modern Perl (5.8+) using
+ *PerlIO::via*.
+
*Filter::Handle* allows you to apply arbitrary filters to output
filehandles. You can perform any sorts of transformations on the
outgoing text: you can prepend it with some data, you can replace all
View
@@ -80,6 +80,10 @@ Filter::Handle - Apply filters to output filehandles
=head1 DESCRIPTION
+B<NOTE:> Filter::Handle is now deprecated and is no longer on CPAN. The
+feature implemented here can be implemented in modern Perl (5.8+) using
+I<PerlIO::via>.
+
I<Filter::Handle> allows you to apply arbitrary filters
to output filehandles. You can perform any sorts of
transformations on the outgoing text: you can prepend it

0 comments on commit 1faf8d9

Please sign in to comment.