Help for this page

Select Code to Download


  1. or download this
    @A = ("Red", "Green", "Yellow");
    @B = ("Yellow", "Black","Yellow","Red", "White", "Yellow");
    
  2. or download this
    > Red at index 3
    > Green is missing
    > Yellow at index 0, 2 and 5
    > Elements from B were detected 4 times in A
    
  3. or download this
    foreach $x (@A){
        foreach $y (@B){
    ...
        }
      }
    }