This is Mateu's Typepad Profile.
Join Typepad and start following Mateu's activity
Join Now!
Already a member? Sign In
Mateu
Recent Activity
This is a small-fry detail, but the variable $name is un-used. To make the example a little more complete I'd change the content line to something like: $res->content("Hello $name"); Then to demonstrate the capturing of the param one could do the following: * plackup app.psgi * curl http://localhost:5000/?name=Xavi OR * curl -d name=Xavi http://localhost:5000/ where app.psgi is the Plack::Request app demonstrated above. In the result of the curl operation one will see value of the name param.
1 reply
Small note. The Plack::App::Directory example is missing the closing single quote in order to be runnable.
1 reply
Mateu is now following The Typepad Team
Feb 21, 2011