CGI Paramater Validation Where To Now? 27 of 32 : [PREV] [NEXT]

The Next Step

Having done some basic evaluation, I like the ideas of Params::Check and Params::Validate, and Data::FormValidator does some nice things with dependancies and builtin constraints.

However, the CGI:: modules all fail to live up to expectations. Everything that they do can be done one or other of the first three modules. Plus I like the idea that the first three are very generic and capable of just validating data.

As a consequence a wrapper module that loads the CGI parameters and a set of rules, should be able to use any or all of the modules to validate as much as possible.


© 2003 Barbie barbie@missbarbell.co.uk Home http://birmingham.pm.org/