in reply to Re: Accessing Variables in Different Subroutines
in thread Accessing Variables in Different Subroutines

...I will confess that i could not get this code to work with POST requests, only GET requests....get '/' => sub { ... get '/select_color' => sub { ... get '/select_animal' => sub { ...

get is get, post is post, any is any of http methods get/put/post/delete

just get/post is  any ['get', 'post'] => sub { ...