I have the following post that gets a user's selection from a page then looks up the corresponding record for the selection. post '/mypage' => sub { # let user make a selection my $select_id = params->{sportselect}; print "\n\nLooks Like They Selected No: $select_id\n\n"; # take them to the add_sport (but somehow with selected no hook 'before' => sub { var sport_id => $select_id; request->path('/sport_add') };}get '/sport_add' => sub { my ($selID) = splat; # print "In sport_add we got: $selID as the chosen number\n"; }
Hi Warren, No I hit send by accident. The email I sent just after was my question. Thanks 2015-08-24 15:29 GMT-05:00 Warren Young <wyml@etr-usa.com>:
On Aug 23, 2015, at 1:20 PM, Richard Reina <gatorreina@gmail.com> wrote:
I have the following post that gets a user's selection from a page then looks up the corresponding record for the selection.
Is there a question here? _______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
participants (2)
-
Richard Reina -
Warren Young