NAME
POE::Filter::Line - convert between line- and stream-based IO
SYNOPSIS
$line = new POE::Filter::Line();
$line_with_crlf = $line->put("A line of text.");
$lines = $line->get("One\x0DTwo\x0AThree\x0D\x0AFour\x0A\x0DFive");
print join(':', @$lines), "\n";
DESCRIPTION
Breaks up a stream into lines, based on any permutation of CR/LF. Appends CR/LF to the ends of lines being sent.
PUBLIC METHODS
Please see POE::Filter
for explanations.
EXAMPLES
Please see tests/selects.perl for examples of POE::Filter::Line
.
BUGS
None known.
CONTACT AND COPYRIGHT
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.