POE::Filter::Stream(3pm) User Contributed Perl Documentation POE::Filter::Stream(3pm)NAME
POE::Filter::Stream - a no-op filter that passes data through unchanged
SYNOPSIS
#!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;
DESCRIPTION
POE::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 ALSO
POE::Filter for more information about filters in general.
The SEE ALSO section in POE contains a table of contents covering the entire POE distribution.
BUGS
None known.
AUTHORS & COPYRIGHTS
Please see POE for more information about authors and contributors.
perl v5.14.2 2012-05-15 POE::Filter::Stream(3pm)
Check Out this Related Man Page
POE::Resources(3pm) User Contributed Perl Documentation POE::Resources(3pm)NAME
POE::Resources - loader of POE resources
SYNOPSIS
# Intended for internal use by POE::Kernel.
use POE::Resources;
POE::Resources->load();
DESCRIPTION
POE::Kernel is internally split into different resources that are separately managed by individual mix-in classes.
POE::Resources is designed as a high-level macro manager for POE::Resource classes. Currently it implements a single method, load(), which
loads all the POE::Resource classes.
METHODS
POE::Resources has a public interface, but it is intended to be used internally by POE::Kernel. Application programmers should never need
to use POE::Resources directly.
load
POE::Kernel calls load() to loads all the known POE::Resource modules.
Each resource may be handled by a pure perl module, or by an XS module. For each resource class, load() first tries to load the
"POE::XS::Resource::..." version of the module. If that fails, load() falls back to "POE::Resource::...".
SEE ALSO
See "Resources" in POE::Kernel for for public information about POE resources.
See POE::Resource for general discussion about resources and the classes that manage them.
AUTHORS & LICENSING
Please see POE for more information about its authors, contributors, and POE's licensing.
perl v5.14.2 2012-05-15 POE::Resources(3pm)
Is there any possibility that a Stream Read and Write queues will interchange messages of any kind. If so what are the different possiblites and under what circumstances ?
Thanks in advance. (4 Replies)
Hi All,
I am trying to read data from two files and then compare them and only print the records on the screen that have a same ID.i.e TAGNO =CUSTOMERNO
For Eg
My Input Files are (a) Transaction (b) Customer detail
The data in file a is like:
TagNo Date Time Station... (0 Replies)
I need to move everything from an older ultra 1 onto a newer ultra 60 (OS and all) running SUNOS 5.5.1. Any suggestions on the best way to do this?
Frank
P.S. If you know of a document somewhere please let me know. (11 Replies)
We have PPE/POE problems on a 32 PE p690 system. After upgrading to the latest AIX 5.2 (ML 05) POE/PPE environment on a p690, we've noticed that mpi jobs could not start. I've trace the problem in the communication of poe client routines and the pmdv4 (/etc/pmdv4) partition
manager on our... (0 Replies)
All,
i am new to linux script...
source
Filter: vlan281-BUM-5M
BUM-5M 0 0
Filter: vlan282-BUM-5M
BUM-5M 0 0
Filter: vlan2828-BUM-5M
Filter:... (2 Replies)
Hello all,
i am new to linux , and please need your help and suggestion on....
when vi 1.txt :set list, it looks like
$ is displaying the end of line
Filter: vlan1-BUM-1M $
BUM-1M 0 ... (4 Replies)
well, im a total novice of unix commands and shell scripting, i never made anything.
But yesterday in my work i was working with a lot of log files and i was wondering if there is a command for doing something like this:
i have a bunch of files with text like this:
blablabla errorcode1... (11 Replies)