[cgiapp] Proposal: CGI::Application::Plugin::ValidateQuery

2009-04-11 Thread Mark Stosberg
I'm considering producing a CGI::Application plugin for light weight query validation using Params::Validate. I've drafted the POD for it, and that's below. The implementation would include one novel technical concept that I haven't notice in use before in a CGI::Application project. We

Re: [cgiapp] Proposal: CGI::Application::Plugin::ValidateQuery

2009-04-11 Thread Michael Peters
Mark Stosberg wrote: This means we had to find some other way to interrupt the flow and return our error page. The solution is to write a suicide note and then pull the trigger. Or rather, in validate_query(), if validation fails, we do a just-in-time setting of error_mode(), and then die,