{
    "content": [
        {
            "type": "text",
            "text": "# POE::Filter::Stream (perldoc)\n\n## NAME\n\nPOE::Filter::Stream - a no-op filter that passes data through unchanged\n\n## SYNOPSIS\n\n#!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;\n\n## DESCRIPTION\n\nPOE::Filter::Stream passes data through without changing it. It follows POE::Filter's API and\nimplements no new functionality.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n- **BUGS**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "POE::Filter::Stream",
        "section": "",
        "mode": "perldoc",
        "summary": "POE::Filter::Stream - a no-op filter that passes data through unchanged",
        "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;",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 30,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 5,
                "subsections": []
            }
        ],
        "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": []
            }
        }
    }
}