Skip Menu |

This queue is for tickets about the Net-IP CPAN distribution.

Report information
The Basics
Id: 35382
Status: open
Priority: 0/
Queue: Net-IP

People
Owner: cpan [...] bat.ru
Requestors: atom.powers [...] gmail.com
Cc:
AdminCc:

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



Subject: Bug #25169
Date: Thu, 24 Apr 2008 13:24:47 -0700
To: bug-Net-IP [...] rt.cpan.org
From: "Atom Powers" <atom.powers [...] gmail.com>
Additional comments on Bug #25169 I need reverse-ip() to support CIDR notation. -- print (new Net::IP(10.10.0.0/23) )->reverse_ip(); ----> "10.10.in-addr.arpa." Should be "23/0.0.10.10.in-addr.arpa." -- -- Perfection is just a word I use occasionally with mustard. --Atom Powers--
On Thu Apr 24 16:25:13 2008, atom.powers@gmail.com wrote: Show quoted text
> Additional comments on Bug #25169 > > I need reverse-ip() to support CIDR notation. > -- > print (new Net::IP(10.10.0.0/23) )->reverse_ip(); > ----> "10.10.in-addr.arpa." > Should be "23/0.0.10.10.in-addr.arpa." >
I don't see how to implement that easily in the current code. Patches are welcome.
From: daniel [...] kickidle.com
I would vote against this behavior in Net::IP by default. The proposed format ("23/0.0.10.10.in-addr.arpa.") is not a "standard" in-addr.arpa name. If atom.powers needs that functionality, I think he should create a sublass of Net::IP and override the function in his code base only. On Sat Jun 25 22:31:54 2011, BAT wrote: Show quoted text
> On Thu Apr 24 16:25:13 2008, atom.powers@gmail.com wrote:
> > Additional comments on Bug #25169 > > > > I need reverse-ip() to support CIDR notation. > > -- > > print (new Net::IP(10.10.0.0/23) )->reverse_ip(); > > ----> "10.10.in-addr.arpa." > > Should be "23/0.0.10.10.in-addr.arpa." > >
> > I don't see how to implement that easily in the current code. Patches
are Show quoted text
> welcome.