rpike has asked for the
wisdom of the Perl Monks concerning the following question:
I was wondering what's the easiest and most effective way to remove special characters coming from a form? If I use a CGI object (from CGI module) will that remove any characters automatically or do any sort of checks on the data coming in? The data coming in will vary and so will the acceptable data (i.e. @ is needed for e-mail, text fields for comments may expect a few types of characters, etc..,). How do you handle data such as this? I'm trying to write the code for a mock website for buying/searching/etc.., goods. Any help would be greatly appreciated. Thanks.