On Mon, 03 Jun 2013 19:50:40 +0100
gvim <[email protected]> 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") <[email protected]>
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
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users