[dancer-users] Useless error message
David Precious
davidp at preshweb.co.uk
Mon Jun 3 19:57:40 BST 2013
On Mon, 03 Jun 2013 19:50:40 +0100
gvim <gvimrc at gmail.com> wrote:
> >
> > I would help if you post your source code for your Dancer
> > application.
> >
> > Regards
> > Racke
> Most of my code in modules except routing:
[...]
> post '/register' => sub {
> my %params = params;
> my %val = %{Astro::Register::run(\%params)};
> if ($val{passed}) { redirect '/response/registered.html' }
> else { template 'input_errors', { missing => $val{missing},
> invalid => $val{invalid}, unknown => $val{unknown} }}
> };
[...]
> The registration form submission which produced the error hits the
> '/register' route.
I see nothing in the code above that could raise the error you are
seeing, so I suspect the problem lies within Astro::Register::run().
--
David Precious ("bigpresh") <davidp at preshweb.co.uk>
http://www.preshweb.co.uk/ www.preshweb.co.uk/twitter
www.preshweb.co.uk/linkedin www.preshweb.co.uk/facebook
www.preshweb.co.uk/cpan www.preshweb.co.uk/github
More information about the dancer-users
mailing list