Subject: | Addition of a constant does not work as documented |
Documentation of NetAddr::IP states: Addition of a constant ("+")
Add a 32 bit signed constant to the address part of a NetAddr object.
This operation changes the address part to point so many hosts above
the current objects start address. For instance, this code:
print NetAddr::IP::Lite->new('127.0.0.1') + 5;
will output 127.0.0.6/8.
But in reality the output is 127.0.0.1/32.
Does something change and documentation should be fixed or it is bug?