Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Accessing Variables in Different Subroutines

by Anonymous Monk
on Mar 20, 2015 at 08:04 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-19 18:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found