Syntactic Confectionery Delight | |
PerlMonks |
Re: Example of complex constraint with HTML::FormValidatorby buckaduck (Chaplain) |
on Mar 21, 2001 at 04:41 UTC ( [id://65921]=note: print w/replies, xml ) | Need Help?? |
In general, I'd try using something like:
...where you can either use a subroutine checkField() or replace it with a short test right there in the anonymous subroutine. There is an example in the documentation for the module, but it uses a built-in validation routine rather than an anonymous subroutine... buckaduck
In Section
Seekers of Perl Wisdom
|
|