How about....
while($x=<STDIN> and $x !~ /^\s*\d+\s*$/) { print "Enter a number\n" }
$japh->{'Caillte'} = $me;
In reply to Re: Can this If/Else be condensed into a 1 liner with a trailing If?
by Caillte
in thread Can this If/Else be condensed into a 1 liner with a trailing If?
by jerrygarciuh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |