POE::Filter - convert between raw and cooked streams
$filter = new POE::Filter::Derivative();
Derivatives of POE::Filter provide standard IO cooking and uncooking for their parent IO::Sessions. For example, POE::Filter::Line breaks up input into newline-delimited chunks of input, and it appends newlines to the ends of chunks being output.
POE::Filter
IO::Session
POE::Filter::Line
$filter = new POE::Filter::Derivative()
Creates an instance of the given filter.
Returns a version of $chunk that is formatted according to the protocol that the filter implements.
$chunk
Returns a reference to an array of zero or more formatted pieces of $chunk. Partial chunks are held inside POE::Filter until they are completed.
Please see tests/selects.perl for an example of POE::Filter::Line.
None known.
Copyright 1998 Rocco Caputo <troc@netrus.net>. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install POE, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POE
CPAN shell
perl -MCPAN -e shell install POE
For more information on module installation, please visit the detailed CPAN module installation guide.