summaryrefslogtreecommitdiff
path: root/_posts/2010-09-10-dancer-summer-of-code.textile
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-09-11 08:39:23 +0200
committerfranck cuny <franck@lumberjaph.net>2010-09-11 08:39:23 +0200
commit86d0e70fbcf24d0ef80499e77b702d8db7b1d606 (patch)
treebef313176b74ceb8feb04ff1b2d332ccfb2ad493 /_posts/2010-09-10-dancer-summer-of-code.textile
parentadd about page (diff)
downloadlumberjaph-86d0e70fbcf24d0ef80499e77b702d8db7b1d606.tar.gz
set syntax to perl; update static page and css
Diffstat (limited to '_posts/2010-09-10-dancer-summer-of-code.textile')
-rw-r--r--_posts/2010-09-10-dancer-summer-of-code.textile4
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'};