Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Dear monks,
I've the code below to try and get the integer value of an IP.
my $netip = new Net::IP ($ip) or die (Net::IP::Error()); my $intip = $netip->intip(); # output $intip # bless( { 'value' => [ 5050079, 291 ], 'sign' => '+' }, 'Math::BigInt +' );
What does the second number 291 represent? I've run the code with different IPs and it seems similar ips have slightly different first integer values but the same second value.
Back to
Seekers of Perl Wisdom