Net::DNS::ZoneParse::Parser::Native - Net::DNS::ZoneParse's native parser.
the Native parser can be used without any external dependencies - except of Net::DNS. It supports the directives $TTL, $ORIGIN, $INCLUDE and $GENERATE. It can handle all RRs supported by Net::DNS, as it uses their parsing routines.
$rr = Net::DNS::ZoneParse::Parser::Native->parse($param)
This is the real parsing-routine, used by Net::DNS::ZoneParse.
$item = dns_next_item($line[, $default])
This will return the next item on the given line. If default is given and the line is empty or starts with blanks, $default is returned.
$line will be modified to start with the following - not returned - item.
This functions is inteded to be used by the extension of Net::DNS::RR::xx parsing functionality.
Net::DNS::ZoneParse
Benjamin Tietz <benjamin@micronet24.de>
Copyright (C) 2010 by Benjamin Tietz
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
To install Net::DNS::ZoneParse, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::DNS::ZoneParse
CPAN shell
perl -MCPAN -e shell install Net::DNS::ZoneParse
For more information on module installation, please visit the detailed CPAN module installation guide.