>>>>> "Roger" == Roger Espel Llima <[EMAIL PROTECTED]> writes:
Roger> # limit allowed characters in email addresses
Roger> $to =~ tr/-a-zA-Z0-9_+%$.,:!@=()[]//cd;
This is neither necessary nor sufficient. Please stop with this nonsense.
**************************************************
*
* An email address can have ANY CHARACTER OF THE PRINTABLE ASCII SEQUENCE.
*
* An email address NEVER NEEDS TO GET NEAR A SHELL, so ALL CHARACTERS
* ARE SAFE.
*
**************************************************
Clear?
Man, if I see ONE MORE script that checks for a "legal email", I'm gonna
scream. Matter of fact, I already did. :)
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!