{
    "mode": "perldoc",
    "parameter": "Net::DNS::RR::TXT",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ADNS%3A%3ARR%3A%3ATXT/json",
    "generated": "2026-06-14T05:41:49Z",
    "synopsis": "use Net::DNS;\n$rr = Net::DNS::RR->new( 'name TXT  txtdata ...' );\n$rr = Net::DNS::RR->new( name    => 'name',\ntype    => 'TXT',\ntxtdata => 'single text string'\n);\n$rr = Net::DNS::RR->new( name    => 'name',\ntype    => 'TXT',\ntxtdata => [ 'multiple', 'strings', ... ]\n);\nuse utf8;\n$rr = Net::DNS::RR->new( 'jp TXT    古池や　蛙飛込む　水の音' );",
    "sections": {
        "NAME": {
            "content": "Net::DNS::RR::TXT - DNS TXT resource record\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Net::DNS;\n$rr = Net::DNS::RR->new( 'name TXT  txtdata ...' );\n\n$rr = Net::DNS::RR->new( name    => 'name',\ntype    => 'TXT',\ntxtdata => 'single text string'\n);\n\n$rr = Net::DNS::RR->new( name    => 'name',\ntype    => 'TXT',\ntxtdata => [ 'multiple', 'strings', ... ]\n);\n\nuse utf8;\n$rr = Net::DNS::RR->new( 'jp TXT    古池や　蛙飛込む　水の音' );\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Class for DNS Text (TXT) resource records.\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\ntxtdata\n$string = $rr->txtdata;\n@list   = $rr->txtdata;\n\n$rr->txtdata( @list );\n\nWhen invoked in scalar context, txtdata() returns a concatenation of the descriptive text\nelements each separated by a single space character.\n\nIn a list context, txtdata() returns a list of the text elements.\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (c)2011 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, RFC1035 Section 3.3.14, RFC3629\n",
            "subsections": []
        }
    },
    "summary": "Net::DNS::RR::TXT - DNS TXT resource record",
    "flags": [],
    "examples": [],
    "see_also": []
}