FormValidator::Simpleã§DBã«å¤ãåå¨ããªãã確èªãããã©ã°ã¤ã³ Class::DBIãã¤ãã£ã¦å¤ãDBã«ç»é²ããã¦ããªããã確èªããValidatorã 使ãæ¹ã¯ã create table user( id varchar(32) not null primary key, email varchar(120) not null unique ); ã¨ãããã¼ãã«ãæ³å®ãã¦ãidã¨emailããã§ã«ç»é²ããã¦ããªããã確èªããã«ã¯ã FormValidator::Simple->check($q,[ id=>[ 'NOT_BLANK', ['REGEX',qr/^[a-z][a-z0-9]{3,15}$/], ['CDBIUNIQUE','MyApp::M::CDBI::User'] ], email=>[ 'NOT_BLANK', 'EMAIL', ['CDBIU
{{#tags}}- {{label}}
{{/tags}}