Help for this page
for my $i (0..$#array) { if ($array[$i] eq "joby") { ... last; # exit loop - only interested in the first match } }