Subject: | Net::DNS::SEC::Private must not die if attribute is not present |
Date: | Fri, 2 Mar 2018 12:45:29 -0500 |
To: | bug-Net-DNS-SEC [...] rt.cpan.org |
From: | Belman Vadim <vrurg [...] lflat.org> |
My script for key rolling is currently dying with "'inactive' not defined" message because a key being processed doesn't contain Inactive attribute. That effectively breaks the script because other scripts has the attribute and I cannot distinguish the ones with it from others where it is missing.
May I suggest removing the croak at line 201 or introducing method has() to determine the presence of an attribute?
Best regards,
Vadim Belman