The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::DNS::ZoneParse::Parser::Native - Net::DNS::ZoneParse's native parser.

DESCRIPTION

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.

EXPORT

parse

        $rr = Net::DNS::ZoneParse::Parser::Native->parse($param)

This is the real parsing-routine, used by Net::DNS::ZoneParse.

dns_next_item

        $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.

SEE ALSO

Net::DNS::ZoneParse

AUTHOR

Benjamin Tietz <benjamin@micronet24.de>

COPYRIGHT

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.