Hi!
On Tue Sep 02 06:09:21 2014, nechami827@gmail.com wrote:
Show quoted text> Hi,
>
> This line is in my code:
> my $ipv6_addr = new Net::IP (2001:db8:85a3:42:1000:8a2e:370:22/125);
>
> However, $ipv6_addr get a undef value.
>
> This is a valid IPv6 address, at least according to this site:
>
https://www.ultratools.com/tools/ipv6CIDRToRangeResult.
Well, the referenced tool is more permissive than Net::IP itself.
The CORRECT range should be: 2001:db8:85a3:42:1000:8a2e:370:20/125.
It's a good question, should it accept ranges like given one, adjusting beginning and end to the prefix. ATM such behaviour contradicts documentation.