Net::DNS::Text man page on ElementaryOS

Man page or keyword search:  
man Server   4994 pages
apropos Keyword Search (all sections)
Output format
ElementaryOS logo
[printable version]

Net::DNS::Text(3pm)   User Contributed Perl Documentation  Net::DNS::Text(3pm)

NAME
       Net::DNS::Text - Domain Name System text representation

SYNOPSIS
	   use Net::DNS::Text;

	   $object = new Net::DNS::Text('example');
	   $string = $object->string;

	   $object = decode Net::DNS::Text( \$data, $offset );
	   ( $object, $next ) = decode Net::DNS::Text( \$data, $offset );

	   $data = $object->encode;
	   $text = $object->value;

DESCRIPTION
       The "Net::DNS::Text" module implements a class of text objects with
       associated class and instance methods.

       Each text object instance has a fixed identity throughout its lifetime.

METHODS
   new
	   $object = new Net::DNS::Text('example');

       Creates a text object which encapsulates a single character string
       component of a resource record.

       Arbitrary single-byte characters can be represented by \ followed by
       exactly three decimal digits. Such characters are devoid of any special
       meaning.

       A character preceded by \ represents itself, without any special
       interpretation.

   decode
	   $object = decode Net::DNS::Text( \$buffer, $offset );

	   ( $object, $next ) = decode Net::DNS::Text( \$buffer, $offset );

       Creates a text object which represents the decoded data at the
       indicated offset within the data buffer.

       The argument list consists of a reference to a scalar containing the
       wire-format data and offset of the text data.

       The returned offset value indicates the start of the next item in the
       data buffer.

   encode
	   $data = $object->encode;

       Returns the wire-format encoded representation of the text object
       suitable for inclusion in a DNS packet buffer.

   value
	   $value = $text->value;

       Returns the character representation of the text object.

   string
	   $string = $text->string;

       Returns the escaped string representation of the text object.

BUGS
       Coding strategy is intended to avoid creating unnecessary argument
       lists and stack frames. This improves efficiency at the expense of code
       readability.

       Platform specific character coding features are conditionally compiled
       into the code.

COPYRIGHT
       Copyright (c)2009-2011 Dick Franks.

       All rights reserved.

       This program is free software; you may redistribute it and/or modify it
       under the same terms as Perl itself.

SEE ALSO
       perl, Net::DNS, RFC1035, RFC3629, Unicode Technical Report #16

perl v5.18.1			  2012-01-27		   Net::DNS::Text(3pm)
[top]

List of man pages available for ElementaryOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net