Subject: | Net::IP->new("0.0.0.0")->size crashes |
Steps to reproduce:
$ perl -E 'use Net::IP; say Net::IP->new("0.0.0.0")->size'
Got result:
Can't call method "is_zero" on an undefined value at /somepath/perl/lib/5.26.1/Math/BigInt.pm line 1569.
Expected result:
0 (zero)
Or maybe undef, since size is not applicable to this address?
Definitely not current error.
My environment:
Perl 5.26.1
Math::BigInt 1.999806