diff options
Diffstat (limited to '_posts/2010-09-10-dancer-summer-of-code.textile')
| -rw-r--r-- | _posts/2010-09-10-dancer-summer-of-code.textile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_posts/2010-09-10-dancer-summer-of-code.textile b/_posts/2010-09-10-dancer-summer-of-code.textile index a74f6b3..07b0f52 100644 --- a/_posts/2010-09-10-dancer-summer-of-code.textile +++ b/_posts/2010-09-10-dancer-summer-of-code.textile @@ -32,7 +32,7 @@ In august, "alexis":http://www.sukria.net/ brought a big effort to refactor the With this feature, you can do the following: -{% highlight yaml %} +{% highlight perl %} package myapp::forum; use Dancer ':syntax'; @@ -91,7 +91,7 @@ So, what we did, is to use this middleware and add some syntactic sugar so peopl This is not yet complete, it's only available in the 'devel' branch, and subject to change. A small code sample: -{% highlight yaml %} +{% highlight perl %} websocket '/new_listener' => sub { my $env = request->env; my $room = $env->{'hippie.args'}; |
