{
    "content": [
        {
            "type": "text",
            "text": "# Net::DNS::RR::APL (perldoc)\n\n## NAME\n\nNet::DNS::RR::APL - DNS APL resource record\n\n## SYNOPSIS\n\nuse Net::DNS;\n$rr = Net::DNS::RR->new('name IN APL aplist');\n\n## DESCRIPTION\n\nDNS Address Prefix List (APL) record\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **METHODS** (1 subsections)\n- **COPYRIGHT**\n- **LICENSE**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Net::DNS::RR::APL",
        "section": "",
        "mode": "perldoc",
        "summary": "Net::DNS::RR::APL - DNS APL resource record",
        "synopsis": "use Net::DNS;\n$rr = Net::DNS::RR->new('name IN APL aplist');",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 22,
                "subsections": [
                    {
                        "name": "Net::DNS::RR::APL::Item",
                        "lines": 34
                    }
                ]
            },
            {
                "name": "COPYRIGHT",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "LICENSE",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Net::DNS::RR::APL - DNS APL resource record\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Net::DNS;\n$rr = Net::DNS::RR->new('name IN APL aplist');\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "DNS Address Prefix List (APL) record\n",
                "subsections": []
            },
            "METHODS": {
                "content": "The available methods are those inherited from the base class augmented by the type-specific\nmethods defined in this package.\n\nUse of undocumented package features or direct access to internal data structures is discouraged\nand could result in program termination or other unpredictable behaviour.\n\naplist\n@aplist = $rr->aplist;\n\n@aplist = $rr->aplist( '1:192.168.32.0/21', '!1:192.168.38.0/28' );\n\n@aplist = $rr->aplist( '1:224.0.0.0/4', '2:FF00:0:0:0:0:0:0:0/8' );\n\n@aplist = $rr->aplist( negate  => 1,\nfamily  => 1,\naddress => '192.168.38.0',\nprefix  => 28,\n);\n\nOrdered, possibly empty, list of address prefix items. Additional items, if present, are\nappended to the existing list with neither prefix aggregation nor reordering.\n",
                "subsections": [
                    {
                        "name": "Net::DNS::RR::APL::Item",
                        "content": "Each element of the prefix list is a Net::DNS::RR::APL::Item object which is inextricably bound\nto the APL record which created it.\n\nnegate\n$rr->negate(1);\n\nif ( $rr->negate ) {\n...\n}\n\nBoolean attribute indicating the prefix to be an address range exclusion.\n\nfamily\n$family = $rr->family;\n$rr->family( $family );\n\nAddress family discriminant.\n\nprefix\n$prefix = $rr->prefix;\n$rr->prefix( $prefix );\n\nNumber of bits comprising the address prefix.\n\naddress\n$address = $object->address;\n\nAddress portion of the prefix list item.\n\nstring\n$string = $object->string;\n\nReturns the prefix list item in the form required in zone files.\n"
                    }
                ]
            },
            "COPYRIGHT": {
                "content": "Copyright (c)2008 Olaf Kolkman, NLnet Labs.\n\nPortions Copyright (c)2011,2017 Dick Franks.\n\nAll rights reserved.\n\nPackage template (c)2009,2012 O.M.Kolkman and R.W.Franks.\n",
                "subsections": []
            },
            "LICENSE": {
                "content": "Permission to use, copy, modify, and distribute this software and its documentation for any\npurpose and without fee is hereby granted, provided that the original copyright notices appear\nin all copies and that both copyright notice and this permission notice appear in supporting\ndocumentation, and that the name of the author not be used in advertising or publicity\npertaining to distribution of the software without specific prior written permission.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING\nBUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\nDAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "perl, Net::DNS, Net::DNS::RR, RFC3123\n",
                "subsections": []
            }
        }
    }
}