Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Accessing Variables in Different Subroutines

by Anonymous Monk
on Mar 20, 2015 at 08:04 UTC ( #1120703=note: print w/replies, xml ) Need Help??


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 { ...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1120703]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (1)
As of 2023-10-03 00:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?