do { # not without the do $lowrange = 0; print "\nYour number must be positive. I have set it to 0 for you."; } if ($lowrange < 0);