{
    "mode": "perldoc",
    "parameter": "POE::Filter::Stream",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/POE%3A%3AFilter%3A%3AStream/json",
    "generated": "2026-06-14T01:02:24Z",
    "synopsis": "#!perl\nuse Term::ReadKey;\nuse POE qw(Wheel::ReadWrite Filter::Stream);\nPOE::Session->create(\ninlinestates => {\nstart => sub {\nReadMode \"ultra-raw\";\n$[HEAP]{io} = POE::Wheel::ReadWrite->new(\nInputHandle => \\*STDIN,\nOutputHandle => \\*STDOUT,\nInputEvent => \"gotsomedata\",\nFilter => POE::Filter::Stream->new(),\n);\n},\ngotsomedata => sub {\n$[HEAP]{io}->put(\"<$[ARG0]>\");\ndelete $[HEAP]{io} if $[ARG0] eq \"\\cC\";\n},\nstop => sub {\nReadMode \"restore\";\nprint \"\\n\";\n},\n}\n);\nPOE::Kernel->run();\nexit;",
    "sections": {
        "NAME": {
            "content": "POE::Filter::Stream - a no-op filter that passes data through unchanged\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "#!perl\n\nuse Term::ReadKey;\nuse POE qw(Wheel::ReadWrite Filter::Stream);\n\nPOE::Session->create(\ninlinestates => {\nstart => sub {\nReadMode \"ultra-raw\";\n$[HEAP]{io} = POE::Wheel::ReadWrite->new(\nInputHandle => \\*STDIN,\nOutputHandle => \\*STDOUT,\nInputEvent => \"gotsomedata\",\nFilter => POE::Filter::Stream->new(),\n);\n},\ngotsomedata => sub {\n$[HEAP]{io}->put(\"<$[ARG0]>\");\ndelete $[HEAP]{io} if $[ARG0] eq \"\\cC\";\n},\nstop => sub {\nReadMode \"restore\";\nprint \"\\n\";\n},\n}\n);\n\nPOE::Kernel->run();\nexit;\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "POE::Filter::Stream passes data through without changing it. It follows POE::Filter's API and\nimplements no new functionality.\n\nIn the \"SYNOPSIS\", POE::Filter::Stream is used to collect keystrokes without any interpretation\nand display output without any embellishments.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "POE::Filter for more information about filters in general.\n\nThe SEE ALSO section in POE contains a table of contents covering the entire POE distribution.\n",
            "subsections": []
        },
        "BUGS": {
            "content": "None known.\n\nAUTHORS & COPYRIGHTS\nPlease see POE for more information about authors and contributors.\n",
            "subsections": []
        }
    },
    "summary": "POE::Filter::Stream - a no-op filter that passes data through unchanged",
    "flags": [],
    "examples": [],
    "see_also": []
}