Help for this page

Select Code to Download


  1. or download this
    my $found_any = grep { ... } @whatever;
    
  2. or download this
    use List::MoreUtils qw(any);
    my $found_any = any { ... } @whatever;
    
  3. or download this
    use List::Util qw(first);
    my $found_any = defined first { ... } @whatever;