in reply to Check if at least one element of array is bigger than X

List::Util is a core module.
use List::Util qw(first); my $got_big = first { $_ > 10 } (34,52,67,3,66);