Problems? Is your data what you think it is? | |
PerlMonks |
Re: Search a SQL Table and Delete Recordsby roboticus (Chancellor) |
on Aug 29, 2014 at 00:33 UTC ( [id://1098930]=note: print w/replies, xml ) | Need Help?? |
Sure, just use DBI to connect to your database and use whatever SQL statement you use for spam removal:
As you can see, you don't really even need perl, since you can do it in the database. Note: Untested. As many will tell you, the hard part isn't doing the deletions, it's coming up with a reliable spam recognizer.... ...roboticus When your only tool is a hammer, all problems look like your thumb.
In Section
Seekers of Perl Wisdom
|
|