Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 surveying the Monastery: (16)
As of 2015-07-29 16:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (265 votes), past polls