Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 101719
Status: resolved
Priority: 0/
Queue: Parse-DNS-Zone

People
Owner: olof [...] cpan.org
Requestors: Dan [...] DWright.Org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.42
Fixed in: 0.5



Subject: Suggestion for importing zones in Parse::DNS::Zone
Hi, Thanks for writing Parse::DNS::Zone. I'm starting to use it for a project of mine, and it seems to do exactly what I want. One thing that I think would be handy is if the zone being parsed didn't always have to be a filename. In my case, I have the contents of a zone file already slurped into a scalar value and I'd really like to just pass that scalar in to be parsed. Alternatively, I suppose if you let me pass in my own filehandle, I could use IO::Scalar to connect that to my scalar. Thanks so much for putting effort into this module. Regards, -Dan
Subject: Re: [rt.cpan.org #101719] Suggestion for importing zones in Parse::DNS::Zone
Date: Sat, 24 Jan 2015 17:43:28 +0100
To: "Daniel J. Wright via RT" <bug-Parse-DNS-Zone [...] rt.cpan.org>
From: Olof Johansson <olof [...] ethup.se>
On 2015-01-24 11:18 -0500, Daniel J. Wright via RT wrote: Show quoted text
> Thanks for writing Parse::DNS::Zone. I'm starting to use it for a > project of mine, and it seems to do exactly what I want.
Oh, cool! Show quoted text
> One thing that I think would be handy is if the zone being parsed > didn't always have to be a filename. In my case, I have the > contents of a zone file already slurped into a scalar value and I'd > really like to just pass that scalar in to be parsed.
Sounds reasonable! I'll try to get this fixed in the next week/weekend. -- --------------------------------------------------------------- | Olof Johansson http://stdlib.se/ | | irc: zibri https://github.com/olof | ---------------------------------------------------------------
Download signature.asc
application/pgp-signature 836b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #101719] Suggestion for importing zones in Parse::DNS::Zone
Date: Sun, 1 Feb 2015 17:33:39 +0100
To: Olof Johansson via RT <bug-Parse-DNS-Zone [...] rt.cpan.org>
From: Olof Johansson <olof [...] ethup.se>
On 2015-01-24 11:43 -0500, Olof Johansson via RT wrote: Show quoted text
> Sounds reasonable! > > I'll try to get this fixed in the next week/weekend.
I've made a candidate for a 0.5 release, but I'd like your opinion first. Does the attached patch solve your use case? You now have to supply either `zonefile` or `zonestr` to the constructor. In case you use zonestr, you must also supply a basepath parameter if you use $INCLUDE statements. -- --------------------------------------------------------------- | Olof Johansson http://stdlib.se/ | | irc: zibri https://github.com/olof | ---------------------------------------------------------------

Message body is not shown because sender requested not to inline it.

Download signature.asc
application/pgp-signature 836b

Message body not shown because it is not plain text.