A module I use and recommend very highly is HTML::FormValidator. It allows you to define a ruleset in a very similar fashion to yours. A bonus is that you can define rules for various "types" of data, then load these definition files at run-time. For example, this allows you to define an object (like a person) a single time, then re-use that definition in future projects.
In reply to (dkubb) Re: (2) The repetitive task of form data verification
by dkubb
in thread The repetitive task of form data verification
by BMaximus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |