{ print "Number?\n"; redo unless =~ /^(\d+)$/ and $number=$1; }