Help for this page

Select Code to Download


  1. or download this
    chomp for @blocked; # don't expect to match newlines
    if ( grep { $FORM{'comments'} =~ /\b$_\b/ } @blocked) {
      ...
    }
    
  2. or download this
    chomp for @blocked;
    for my $m (@blocked) {
    ...
        exit;  #  could also last outside the loop
      }
    }