On Thu Dec 06 19:57:51 2012, AMIRI wrote:
Show quoted text> With Net::DNS> 0.69, this module fails to call a method
> Net::DNS::RR::new_from_hash, because it has been deleted!
new_from_hash() is not, and never has been, part of the published API.
*** /home/rwf/src/Net-DNS-ZoneFile-Fast-1.17/Fast.pm 2012-09-24
22:43:37.000000000 +0100
--- ./Fast.pm 2012-12-28 10:51:20.842453323 +0000
***************
*** 198,205 ****
$z->{mbox} = uc $z->{mbox} if defined $z->{mbox};
$z->{txtdname} = uc $z->{txtdname} if defined $z->{txtdname};
}
! my $newrec =
! Net::DNS::RR->new_from_hash(%$z);
if ($newrec->{'type'} eq 'DNSKEY') {
if (ref($newrec) ne 'Net::DNS::RR::DNSKEY') {
--- 198,204 ----
$z->{mbox} = uc $z->{mbox} if defined $z->{mbox};
$z->{txtdname} = uc $z->{txtdname} if defined $z->{txtdname};
}
! my $newrec = Net::DNS::RR->new(%$z);
if ($newrec->{'type'} eq 'DNSKEY') {
if (ref($newrec) ne 'Net::DNS::RR::DNSKEY') {