SyntaxFix
Write A Post
Hire A Developer
Questions
Oh, I found it. You use last instead of break
for my $entry (@array){ if ($string eq "text"){ last; } }