Help for this page

Select Code to Download


  1. or download this
    sub has_phrase {
      my ($phrase, @wordlist) = @_;
    ...
    
    # ... called later
    if (has_phrase("foo", @somearray)) { &someaction }
    
  2. or download this
    sub has_phrase {
      my ($phrase, @wordlist) = @_;
    ...
    
      return;
    }