if($textFile =~ /Goku/i){ print $textFile (Only print if goku appears 10 times together in that line) }