Help for this page

Select Code to Download


  1. or download this
    sub find_eye_shapes {
      my @key = map( [ split/\s+OR\s+/ ], @_);
    ...
      }
      return @ret;
    }
    
  2. or download this
    # Get all shapes with keywords: face AND person AND perlhacker
    my @faces = find_eye_shapes('face', 'person', 'perlhacker');
    
    # Get all shapes with keywords: face AND (person OR animal)
    my @faces = find_eye_shapes('face', 'person OR animal');