Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Problems with not so trivial data validation using Data::FormValidator

by ted.byers (Scribe)
on Jan 31, 2013 at 22:43 UTC ( #1016409=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     my_zipcode_field => [
         'zip',
    ...
           name        =>  'starts_with_406',
         }
     ],
    
  2. or download this
                     ccexpiry => [
                              'ccexp',
                              {
    ...
                               name => 'card_expired'
                              }
                              ],
    
  3. or download this
    [Thu Jan 31 15:58:27 2013] [error] [client 127.0.0.1] Value for constraint_method 'ccexp' not a code reference or Regexp . Do you need func(), not 'func'? at C:/Perl64/site/lib/Data/FormValidator.pm line 974., referer: http://localhost:9080/test.dfv.html
  4. or download this
    use Business::CreditCard;
    use Business::CCCheck;
    use Data::FormValidator;
    use Data::FormValidator::Constraints qw(:closures);
    use Data::FormValidator::Constraints::DateTime qw(:all);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1016409]
Approved by sundialsvc4
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2014-09-24 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (244 votes), past polls