my $ngwords = <<'EOT'; # 次の行からEOTの直前まで、NGWORDを改行で区切って列挙

action=in
id=
in=
\/\?
ACC=
cgi\?
php\?

EOT

$ngwords =~ tr/\n//s;
$ngwords =~ s/^\n//;
$ngwords =~ s/\n$//;

foreach (split /\n/, $ngwords) {
    if ($FORM{'MESSAGE'} =~ /$_/) return 1;
}