if($ip_no =~ /\D/ || $ip_no=~ //)
That is the same as saying:
if($ip_no =~ /\D/ || $ip_no=~ /\D/)
Because an empty match operator uses the last successfully matched regular expression.
In reply to Re^3: reprompt user input, until validation pass
by jwkrahn
in thread reprompt user input, until validation pass
by ganeshfriends
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |