On Tue, 22 Jan 2002 19:01:48 +0100
Thomas Eibner <[EMAIL PROTECTED]> wrote:

> my $fields = {
>             id => ['\d+', \&validation_sub ],
>             text => ['(?:\w\s)+']
>             };
> 
> And I feed this along with the request or cgi object to a function
> that checks each key for first the simple regexp to see if it's worth
> trying the real validation function.

see also CGI::Untaint by Tony Bowden, on CPAN.


--
Tatsuhiko Miyagawa <[EMAIL PROTECTED]>

Reply via email to