Help for this page

Select Code to Download


  1. or download this
    if( grep { $a == $a[$_] && $b eq $b[$_] } 0 .. $#a ) {
      # do stuff here
    }
    
  2. or download this
    if( first { $a == $a[$_] && $b eq $b[$_] } 0 .. $#a ) {
      # do stuff here
    }