in reply to line ends,, backticks and perl security

What are you going to do with the data? If you have a field that you want to contain only an email address, then validate it using something like Email::Valid or Class::CGI::Email::Valid. If you want to search an arbitrary block of text for email addresses, consider Email::Find. If you have an arbitrary block of text you want to write to a database using DBI, use placeholders.

Polonius
  • Comment on Re: line ends,, backticks and perl security