Help for this page

Select Code to Download


  1. or download this
    my @matches = grep { $_ =~ /aa/i } @array;
    
    print "Matched:$_\n" for @matches;
    
  2. or download this
    print "Matched:$_\n" for grep { $_ =~ /aa/i } @array;