Query: poe::filter::stream
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
POE::Filter::Stream(3pm) User Contributed Perl Documentation POE::Filter::Stream(3pm)NAMEPOE::Filter::Stream - a no-op filter that passes data through unchangedSYNOPSIS#!perl use Term::ReadKey; use POE qw(Wheel::ReadWrite Filter::Stream); POE::Session->create( inline_states => { _start => sub { ReadMode "ultra-raw"; $_[HEAP]{io} = POE::Wheel::ReadWrite->new( InputHandle => *STDIN, OutputHandle => *STDOUT, InputEvent => "got_some_data", Filter => POE::Filter::Stream->new(), ); }, got_some_data => sub { $_[HEAP]{io}->put("<$_[ARG0]>"); delete $_[HEAP]{io} if $_[ARG0] eq "cC"; }, _stop => sub { ReadMode "restore"; print " "; }, } ); POE::Kernel->run(); exit;DESCRIPTIONPOE::Filter::Stream passes data through without changing it. It follows POE::Filter's API and implements no new functionality. In the "SYNOPSIS", POE::Filter::Stream is used to collect keystrokes without any interpretation and display output without any embellishments.SEE ALSOPOE::Filter for more information about filters in general. The SEE ALSO section in POE contains a table of contents covering the entire POE distribution.BUGSNone known. AUTHORS & COPYRIGHTS Please see POE for more information about authors and contributors. perl v5.14.2 2012-05-15 POE::Filter::Stream(3pm)
Related Man Pages |
---|
poe::driver::sysrw(3pm) - debian |
poe::filter::httpchunk(3pm) - debian |
poe::filter::line(3pm) - debian |
poe::loop::tk(3pm) - debian |
poe::wheel::curses(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Stream Read And Write Queues |
Don't Break The Stream! |
"The Stream Will Bring Us Closer Together" |
Combine 2 line with space issue |
Filter logs for key words and create an index |