Net::DNS::RR::TXT - DNS TXT resource record
use Net::DNS::RR;
use Net::DNS::RR
Class for DNS Text (TXT) resource records.
print "txtdata = ", $rr->txtdata, "\n";
Returns the descriptive text as a single string, regardless of actual number of <character-string> elements. Of questionable value. Should be deprecated.
Use $txt->rdatastr() or $txt->char_str_list() instead.
$txt->rdatastr()
$txt->char_str_list()
print "Individual <character-string> list: \n\t", join("\n\t", $rr->char_str_list());
Returns a list of the individual <character-string> elements, as unquoted strings. Used by TXT->rdatastr and TXT->rr_rdata.
Copyright (c) 1997-2002 Michael Fuhr.
Portions Copyright (c) 2002-2004 Chris Reinhardt.
All rights reserved. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
perl(1), Net::DNS, Net::DNS::Resolver, Net::DNS::Packet, Net::DNS::Header, Net::DNS::Question, Net::DNS::RR, RFC 1035 Section 3.3.14
To install Net::DNS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::DNS
CPAN shell
perl -MCPAN -e shell install Net::DNS
For more information on module installation, please visit the detailed CPAN module installation guide.