I tried to increment ip address as follows.
my $ip = '1.2.3.4' +1;
I meant that the $ip would get the value '1.2.3.5'.
Of course it wasn't work:
"Argument "1.2.3.4" isn't numeric in addition (+)..."
Do anyone have an idea how should I do it ?
Thanks,
Mosh.
In reply to Increment of ip address by mosh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |