From 86d0e70fbcf24d0ef80499e77b702d8db7b1d606 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sat, 11 Sep 2010 08:39:23 +0200 Subject: set syntax to perl; update static page and css --- _posts/2010-09-10-dancer-summer-of-code.textile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '_posts/2010-09-10-dancer-summer-of-code.textile') 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'}; -- cgit v1.2.3