Just another Perl shrine | |
PerlMonks |
Re^2: Battling form spamby rickaltman (Initiate) |
on Nov 22, 2010 at 06:15 UTC ( [id://872894]=note: print w/replies, xml ) | Need Help?? |
pKai, thank you very much for the reply. In trying to implement your suggested changes, I botched something up. The beginning of the sub send_email routine now looks like this:
----------- sub send_email {
$query->param('human') { $FullName = $query->param("FullName");
etc. -----------
My tests now return this:
syntax error at form.cgi line 632, near ") {" syntax error at form.cgi line 832, near "}" Execution of form.cgi aborted due to compilation errors.
As you can plainly see, I'm pretty lame with all of this so any hand-holding that you can provide would be appreciated. A copy of the script is available at http://betterppt.com/form.txt if you need to see it.
In Section
Seekers of Perl Wisdom
|
|