print "->CQ username: "; while (){ if ($stop == 1){ return(0); } last; } chomp ($username = );