[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] ValidateRM question


--- Robert Hicks <suppressed> wrote:

> How do I use the various Data::FormValidator built-in constraints like 
> 'zip_or_postcode' and 'email' and the like?
> 
> Do I need to "use Data::FormValidator::Constraints qw(:closures);" to 
> get those built-ins before I use them?

here is what did

use Data::FormValidator::Constraints (qw/valid_email/);
then just call valid_email directly.

> Robert
> 

James.



 
____________________________________________________________________________________
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.