| 1 | package Zonemaster::LDNS::RR::NSECscip-perl cpan Zonemaster-LDNS 5.0.2 Zonemaster/LDNS/RR/NSEC/; |
| 2 | |
| 3 | use strictscip-perl cpan Zonemaster-LDNS 5.0.2 strict/; |
| 4 | use warningsscip-perl cpan Zonemaster-LDNS 5.0.2 warnings/; |
| 5 | |
| 6 | use parentscip-perl cpan Zonemaster-LDNS 5.0.2 parent/ 'Zonemaster::LDNS::RR'; |
| 7 | |
| 8 | sub nxtdnamescip-perl cpan Zonemaster-LDNS 5.0.2 Zonemaster/LDNS/RR/NSEC/nxtdname(). { |
| 9 | return $_scip-perl cpan Zonemaster-LDNS 5.0.2 Zonemaster/LDNS/RR/NSEC/`@_`.[0]->nextscip-perl cpan Zonemaster-LDNS 5.0.2 Zonemaster/LDNS/RR/NSEC/next().; |
| 10 | } |
| 11 | |
| 12 | 1; |
| 13 | |
| 14 | =head1 NAME |
| 15 | |
| 16 | Zonemaster::LDNS::RR::NSEC - Type NSEC record |
| 17 | |
| 18 | =head1 DESCRIPTION |
| 19 | |
| 20 | A subclass of L<Zonemaster::LDNS::RR>, so it has all the methods of that class available in addition to the ones documented here. |
| 21 | |
| 22 | =head1 METHODS |
| 23 | |
| 24 | =over |
| 25 | |
| 26 | =item next() |
| 27 | |
| 28 | Returns the next name. |
| 29 | |
| 30 | =item nxtdname() |
| 31 | |
| 32 | Alias for C<next()>. |
| 33 | |
| 34 | =item typelist() |
| 35 | |
| 36 | Returns a string with the typelist. The string has the type names separated by spaces. |
| 37 | |
| 38 | =item typehref() |
| 39 | |
| 40 | Returns a reference to a hash, where the keys are the type names and the corresponding values are true. That is, if you look for a type in this hash |
| 41 | you get a true value back if the record covers it and false if not. |
| 42 | |
| 43 | =item covers($name) |
| 44 | |
| 45 | Returns true or false depending on if the record covers the given name or not. |
| 46 | |
| 47 | =back |