use Regexp::Common qw /net/; if ($givenIP =~/^$RE{net}{IPv4}$/){ # got good IP. }
"An undefined problem has an infinite number of solutions." - Robert A. Humphrey "If you're not part of the solution, you're part of the precipitate." - Henry J. Tillman
In reply to Re: Representing a 32-bit integer
by NetWallah
in thread Representing a 32-bit integer
by blankdon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |