GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Zonemaster::LDNS::RRList(3) User Contributed Perl Documentation Zonemaster::LDNS::RRList(3)

Zonemaster::LDNS::RRList - class representing lists of resource records.

    my $rrlist = Zonemaster::LDNS::RRList->new( $rrs_aref );

Creates a new empty Zonemaster::LDNS::RRList object.
Creates a new Zonemaster::LDNS::RRList object for the given resource records.

Takes a reference to an array of Zonemaster::LDNS::RR objects.

Returns a Zonemaster::LDNS::RRList object.

Returns the number of RRs in the list.
Compares two Zonemaster::LDNS::RRList. The order of Zonemaster::LDNS::RR objects in the list does not matter. The TTL field is ignored, and the comparison of domain names is case insensitive.

Returns an integer, where 0 indicates equality.

    my $rr = Zonemaster::LDNS::RRList->get( 0 );
    

Retrieves the RR in the given position from the list.

Takes an integer.

Returns a Zonemaster::LDNS::RR object, or "undef" if there was no RR.

Pushes an RR onto the list.
Pops an RR off the list.
Returns true or false depending on if the list is an RRset or not.

Note that the underlying LDNS function appears to have a bug as the comparison of the owner name field is case sensitive. See https://github.com/NLnetLabs/ldns/pull/251.

Returns a string with the list of RRs in presentation format.
Calls the XS "compare" method with the arguments it needs, rather than the ones overloading gives.
Calls the XS "string" method with the arguments it needs, rather than the ones overloading gives. Functionally identical to string() from the Perl level, except for being a tiny little bit slower.

Hey! The above document had some coding errors, which are explained below:

'=item' outside of any '=over'
2024-11-15 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.