POE::F...:Stream(3pm)
π NAME π
okay bestie, gather round, because this one is so chill. POE::Filter::Stream β it's a no-op filter that passes data through unchanged. that's it. that's the whole vibe. it literally does nothing and does it flawlessly. icon behavior honestly. β¨
π SYNOPSIS π
here's the whole flex in action, and yes you can just copy-paste it, it's giving very much "run this right now":
#!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 "\n";
},
}
);
POE::Kernel->run();
exit;
π¦ DESCRIPTION π¦
so like. POE::Filter::Stream passes data through without changing it. no editing, no filtering, no commentary, just data in β data out, untouched, living its best life. π«Ά
it follows POE::Filter's API and implements no new functionality. zero. none. it's a filter that refuses to filter and honestly? we respect the commitment.
in the SYNOPSIS up there, POE::Filter::Stream is used to collect keystrokes without any interpretation and display output without any embellishments. raw input, raw output, no notes, periodt. π
π SEE ALSO π
POE::Filterfor more information about filters in general. (like, the whole filter family lore, iykyk)
also bestie, the SEE ALSO section in POE contains a table of contents covering the entire POE distribution. the whole map. the entire cinematic universe. go explore. πΊοΈβ¨
π BUGS π
None known. not one. not a single one. she's clean, she's flawless, she's unbothered. π§
π AUTHORS & COPYRIGHTS π
Please see POE for more information about authors and contributors. give them their flowers, they earned them. π
this page came from the User Contributed Perl Documentation β the manual name up top is POE::F...:Stream(3pm) (the terminal clipped it, not me π) β and it's from perl v5.34.0, dated 2022-03-25. that's the whole thing bestie, stream it, don't change it, bye ππ¦β¨
π¦ where this page comes from
- debian bookworm: libpoe-perl 2:1.3700-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libpoe-perl 2:1.3700-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libpoe-perl 2:1.3700-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu questing: libpoe-perl 2:1.3700-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms