|go ahead... be a heretic|
Re: How do I code multiple failure modes for Data::FormValidator field validations?by ww (Bishop)
|on Nov 15, 2010 at 21:46 UTC||Need Help??|
Stricken as part of the update (below) because this is just plain wrong:
Here's my stab at what I think (lacking code that does actually compile) you intend:
Change $num1 to 3, and this is the output:
Lottsa' un-needed code and detail here... but that's the way my mind works (when it works).
Update (1712 EST): Based on exchange of msgs and a much needed bit of education (FROM thezip to /me), the compare...() returns 1 or 0, T or F, which is then supposed to be parsed by Data::FormValidator... meaning that portion of my reply (above) is probably most valuable as an object lesson to those ( points to self) who would mis-interpret a bit of legit syntax. Apologies.