{
    "content": [
        {
            "type": "text",
            "text": "# Data::Stream::Bulk::Filter (perldoc)\n\n## NAME\n\nData::Stream::Bulk::Filter - Streamed filtering (block oriented)\n\n## SYNOPSIS\n\nuse Data::Stream::Bulk::Filter;\nData::Stream::Bulk::Filter->new(\nfilter => sub { ... },\nstream => $stream,\n);\n\n## DESCRIPTION\n\nThis class implements filtering of streams.\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **ATTRIBUTES**\n- **METHODS**\n- **AUTHOR**\n- **COPYRIGHT AND LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Data::Stream::Bulk::Filter",
        "section": "",
        "mode": "perldoc",
        "summary": "Data::Stream::Bulk::Filter - Streamed filtering (block oriented)",
        "synopsis": "use Data::Stream::Bulk::Filter;\nData::Stream::Bulk::Filter->new(\nfilter => sub { ... },\nstream => $stream,\n);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "ATTRIBUTES",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND LICENSE",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Data::Stream::Bulk::Filter - Streamed filtering (block oriented)\n",
                "subsections": []
            },
            "VERSION": {
                "content": "version 0.11\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Data::Stream::Bulk::Filter;\n\nData::Stream::Bulk::Filter->new(\nfilter => sub { ... },\nstream => $stream,\n);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This class implements filtering of streams.\n",
                "subsections": []
            },
            "ATTRIBUTES": {
                "content": "filter\nThe code reference to apply to each block.\n\nThe block is passed to the filter both in $ and as the first argument.\n\nThe return value should be an array reference. If no true value is returned the output\nstream does not end, but instead an empty block is substituted (the parent stream controls\nwhen the stream is depleted).\n\nstream\nThe stream to be filtered\n",
                "subsections": []
            },
            "METHODS": {
                "content": "isdone\nloaded\nDelegated to \"stream\"\n\nnext\nCalls \"next\" on \"stream\" and applies \"filter\" if a block was returned.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Yuval Kogman <nothingmuch@woobling.org>\n",
                "subsections": []
            },
            "COPYRIGHT AND LICENSE": {
                "content": "This software is copyright (c) 2012 by Yuval Kogman.\n\nThis is free software; you can redistribute it and/or modify it under the same terms as the Perl\n5 programming language system itself.\n",
                "subsections": []
            }
        }
    }
}