IPv6 addresses

Oliver Gorwits oliver at cpan.org
Tue Mar 13 08:01:21 GMT 2012

>> On Sun, Mar 11, 2012 at 15:43, Chris Dennis<cgdennis at btinternet.com>
> I obviously worded my question very badly.  By 'process the IPv6
> addresses' I meant 'convert e.g. 2001:dead:beef:cafe::1 into some sort
> of bit string and then apply a 64-bit mask to give
> 2001:dead:beef:cafe::'.  That isn't always as trivial as it seems in
> that example.
> Modules such as NetAddr::IP::Util provide functions for that sort of
> thing.

I've been using NetAddr::IP (and ::Lite) as my go-to module for v4 and v6
for years. It seems to be well maintained with attention to the newer RFCs
which occasionally appear.


More information about the london.pm mailing list