for (@settings) { if ($boo < $_->[1]) { ($scalar, $msg) = @{$_}[2,3]; last; } }