Help for this page
foreach ($a, $b, $c) { next unless /abcdefgh/; ... last; }
if (grep /abcdefgh/, $a, $b, $c) { ... }
use List::MoreUtils qw( any ); if (any { /abcdefgh/ } $a, $b, $c) { ... }