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.