Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


add commented out session support in skeleton #1008

wants to merge 3 commits into from

4 participants


No description provided.


Justification for this change?


to make it easier to get started?


Hmm, I did not see any session support there. Have I missed it?


The skeleton files created by dancer do not use session at all from what I can tell. But I did notice that the Introduction.pod starts with dancer -a MyApp and later discusses the session function, so if the session is commented out from the skeleton it might be good to update Introduction.pod to explain how to enable it.

@yanick yanick closed this pull request from a commit
@yanick yanick Merge branch 'pr/1008' into devel
Fixes #1008
@yanick yanick closed this in b0c3014

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 31, 2014
  1. @szabgab
Commits on Apr 1, 2014
  1. @szabgab

    Instead of hard-coding the appdir in the skeleton, show it dynamicall…

    szabgab authored
    …y as is being done by all the other variables
  2. @szabgab
This page is out of date. Refresh to see the latest.
Showing with 9 additions and 6 deletions.
  1. +9 −6 script/dancer
15 script/dancer
@@ -382,11 +382,11 @@ WriteMakefile(
<ul class="links">
- href="">Introduction</a></li>
- <li><a href="">Cookbook</a></li>
- <li><a href="">Deployment Guide</a></li>
+ href="">Introduction</a></li>
+ <li><a href="">Cookbook</a></li>
+ <li><a href="">Deployment Guide</a></li>
- href=""
+ href=""
title="a tutorial to build a small blog engine with Dancer">Tutorial</a></li>
@@ -395,7 +395,7 @@ WriteMakefile(
<h3>Your application\'s environment</h3>
- <li>Location: <code>[% appdir %]</code></li>
+ <li>Location: <code><% settings.appdir %></code></li>
<li>Template engine: <code><% settings.template %></code></li>
<li>Logger: <code><% settings.logger %></code></li>
<li>Environment: <code><% settings.environment %></code></li>
@@ -435,7 +435,7 @@ WriteMakefile(
- <td><tt>[% appdir %]</tt></td>
+ <td><tt><% settings.appdir %></tt></td>
<td>Template engine</td>
@@ -927,6 +927,9 @@ template: \"simple\"
# start_tag: '[%'
# end_tag: '%]'
+# For session support enable the following line and see Dancer::Session
+# session: \"YAML\"
'jquery.js' => jquery_minified(),
Something went wrong with that request. Please try again.