Matching a valid IP address is not quite as simple as it might seem at first. For example, your regex would match 999.999.999.999, which is certainly not a valid IP.
Rather than trying to roll your own, you might want to take a look at Data::Validate::IP - all the tough work has been done for you.
Cheers,
Darren :)
In reply to Re: printing true false values
by McDarren
in thread printing true false values
by HarshaHegde
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |