my $input; while( $input != "good" ) { print "Please enter number:\n"; $input = ; } #rest of code