manpagez: man pages & more
man Net::DNS::RR::APL(3)
Home | html | info | man
Net::DNS::RR::APL(3)  User Contributed Perl Documentation Net::DNS::RR::APL(3)




NAME

       Net::DNS::RR::APL - DNS APL resource record


SYNOPSIS

       "use Net::DNS::RR";


DESCRIPTION

       This is an RR type for address prefix lists. Please see the RFC3123 for
       details.


METHODS

       applist

       Returns an array of Net::DNS::APL::ApItem objects.

       Each ApItem objecst contains the following attribute that can be
       accessed and set using methods of the same name: addressfamily, prefix,
       negation, address

         foreach my $ap ($apl->aplist()){
               print $ap->negation()?"!":"";
               print $ap->addressfamily().":";
               print $ap->address();
               print $ap->prefix(). " ";
           }

       In addition the  Net::DNS::APL::ApItem objects can be printed using the
       string method.

           foreach my $ap ($apl->aplist())
                     print $ap->string."\n";
           }


COPYRIGHT

       Copyright (c) 2008 Olaf Kolkman (NLnet Labs)

       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

       Net::DNS::RR::APL::ApItem(3), perl(1), Net::DNS(3), 
       Net::DNS::Resolver(3), Net::DNS::Packet(3), Net::DNS::Header(3), 
       Net::DNS::Question(3), Net::DNS::RR(3), RFC 3123



perl v5.10.0                      2009-01-26              Net::DNS::RR::APL(3)

Mac OS X 10.6 - Generated Thu Sep 17 20:13:54 CDT 2009
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.