in reply to bareword error
= is for assignment
=~ is a binding operator for regex's
UPDATE: added comment about delimiters
=~ is a binding operator for regex's
A match regex needs to delimited by set of 2 symbols not 3.
Should fix it.if ($FORM {'comments'} =~ m/http|html|HTML|A HREF|a href/i)
UPDATE: added comment about delimiters
grep
One dead unjugged rabbit fish later...
One dead unjugged rabbit fish later...
|
---|
In Section
Seekers of Perl Wisdom