Okay started over with Dancer2 -a MyApp and before making any of the recomended modicifcations tested out the app out of the box with richard@gemini:~/Dancer2/MyApp$ plackup -r bin/app.psgi and get this in the browser:
<% content %>
wget gives me this:
richard@gemini:~/Dancer2/MyApp$ wget -O -
http://0:5000/--2015-08-07 16:53:51--
http://0:5000/Resolving 0 (0)... 0.0.0.0
Connecting to 0 (0)|0.0.0.0|:5000... connected.
HTTP request sent, awaiting response... 200 OK
Length: 835 [text/html]
Saving to: `STDOUT'
0% [ ] 0 --.-K/s <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-type" content="text/html; charset=<% settings.charset %>" />
<title>MyApp</title>
<link rel="stylesheet" href="<% request.uri_base %>/css/style.css" />
<!-- Grab jQuery from a CDN, fall back to local if necessary -->
<script src="//
code.jquery.com/jquery-1.11.1.min.js"></script>
<script type="text/javascript">/* <![CDATA[ */
!window.jQuery && document.write('<script type="text/javascript" src="<% request.uri_base %>/javascripts/jquery.js"><\/script>')
/* ]]> */</script>
</head>
<body>
<% content %>
<div id="footer">
Powered by <a href="
http://perldancer.org/">Dancer2</a> <% dancer_version %>
</div>
</body>
</html>
100%[========================================================================================>] 835 --.-K/s in 0s
2015-08-07 16:53:51 (5.63 MB/s) - written to stdout [835/835]
richard@gemini:~/Dancer2/MyApp$