in reply to replacing the last portions of an octet
Here's another option:
my $IPs = '192.168.1.1-192.168.1.254';
$IPs =~ s/(.+\.)(\d+)(\s*-\s*.+\.)(\d+)/$1 . ($2 - 1) . $3 . ($4 + 1)/
There is no Extraterrestrial life
There aren't any suitably capable Extraterrestrials
Interstellar travel is too difficult
We're too uncool / not worth the trouble
What do you mean they haven't visited?
Results (536 votes). Check out past polls.