Skip Menu |
 

This queue is for tickets about the Net-DNS-ZoneFile-Fast CPAN distribution.

Report information
The Basics
Id: 99093
Status: resolved
Priority: 0/
Queue: Net-DNS-ZoneFile-Fast

People
Owner: Nobody in particular
Requestors: rwfranks [...] acm.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.24
Fixed in: (no value)



Subject: wrongly assumes that Net::DNS::RR->new(%hash) will accept arbitrary data
Download (untitled) / with headers
text/plain 671b
The "hash", really a list of (attribute,value) pairs, is _not_ used directly as the internal representation of the Net::DNS::RR object. Without attempting to fix the problem properly, the following patch will make the tests pass. *** /home/rwf/devel/Net/DNS/ZoneFile/Fast.pm 2014-09-05 18:20:36.000000000 +0100 --- ./Fast.pm 2014-09-23 22:15:19.946777504 +0100 *************** *** 1463,1468 **** --- 1463,1481 ---- return $ttl; } + + package Net::DNS::RR; + + sub Line { + my $self = shift; + $self->{Line} = shift || return $self->{Line}; + } + + sub first { } + sub hashlength { } + sub hnxtnamebin { } + sub saltlength { } + 1; __END__
Who cares? Net::DNS::ZoneFile is at least 40% faster.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.