Don't ask to ask, just ask | |
PerlMonks |
Re: Filtering CGI Inputby matthewb (Curate) |
on Apr 24, 2005 at 08:30 UTC ( [id://450899]=note: print w/replies, xml ) | Need Help?? |
Both CGI::Untaint and Data::FormValidator provide an already-tested mechanism to do what you're attempting. They also both allow you to integrate your own patterns. Overkill for a simple situation? I think not - as your application grows (and it will) would you prefer a scalable solution that you can get advice about from other users or a bunch of special-case regexes in your code? MB
In Section
Seekers of Perl Wisdom
|
|