in reply to
replacing the last portions of an octet
...You'll probably need to test that the last number in each octet is 0 <= x <= 255 after the arithmetic...
Comment on
Re: replacing the last portions of an octet
Replies are listed 'Best First'.
Re^2: replacing the last portions of an octet
by
diamondsandperls
(Beadle)
on Sep 18, 2012 at 20:00 UTC
good point this will not be needed as none of the numbers ever are this however the first ip needs to decrease and the sample code increases both how do i decrease a wild guess was decip but that did not work
[reply]
In Section
Seekers of Perl Wisdom