Skip Menu |

This queue is for tickets about the DNS-ZoneParse CPAN distribution.

Report information
The Basics
Id: 76300
Status: open
Priority: 0/
Queue: DNS-ZoneParse

People
Owner: Nobody in particular
Requestors: mcmic [...] cpan.org
Cc:
AdminCc:

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



Subject: We can't add records of types 'srv','hinfo','rp' and 'loc'
Hello! The example about adding a records works perfect, and it also works for a lot of records, but not for the following : 'srv','hinfo','rp' and 'loc' I'm getting "Invalid method called: srv at argonaut-ldap2zone line 146" The doc says "If there are no records of a given type in the zone, the call will croak with an error message about an invalid method. (This is not an ideal behavior, but has been kept for backwards compatibility.)" So maybe this is on purpose, but why only for these record types? And anyway, could you add a workaround this bug even if you keep it for backward compatibility? (For instance add a parameter to the method if we want to create an empty array and get it, or an other method)
Oops my bad, it's just Debian that have a too old version of this, sorry for the inconvenience. Thanks for your module :-)
Glad to see you found the update, enjoy!