Help for this page

Select Code to Download


  1. or download this
    if ((my $x=grep {/ABC|GHI|MNO/}@FILES) == 3){
      print qq|Found them all\n|
    }else{
      print qq|found only $x\n|
    }
    
  2. or download this
    my @need=sort qw|ABC GHI MNO|; 
    my $flat=join "",@need; 
    ...
    if ($flat eq join( "", sort grep{m/$re/}@FILES)){
       say "Found!"
    }