OK. Found the problems: 1. was using tabs not spaces, 2. used example in Cookbook not what was below.
Could some one point me to at what I'm doing wrong in the config.yml?I'm following the tutorial and the advent stuff and trying to enable plack_middlewares.Here's my config.ymllayout: "main"charset: "UTF-8"template: "template_toolkit"engines:template_toolkit:encoding: 'utf8'start_tag: '[%'end_tag: '%]'log: 'debug'show_errors: 'true'plack_middlewares:Debug:- panels-- Memory- DBITrace- TimerHere's the error message when I plackup$ plackup -S Starman --workers=10 -p 5000 -a bin/app.plError while loading bin/app.pl: Unable to parse the configuration file: /opt/foobar/webapps/cemconf/config.yml: Died at /usr/local/share/perl/5.10.0/YAML/Loader.pm line 676, <$IN> line 1.at /usr/local/share/perl/5.10.0/Dancer/Config.pm line 177Dancer::Config::load_settings_from_yaml('/opt/foobar/webapps/cemconf/config.yml') called at /usr/local/share/perl/5.10.0/Dancer/Config.pm line 159Dancer::Config::load('Dancer::Config') called at /usr/local/share/perl/5.10.0/Dancer.pm line 225Dancer::import('Dancer') called at bin/app.pl line 2Plack::Sandbox::bin_2fapp_2epl::BEGIN() called at /usr/local/share/perl/5.10.0/Dancer.pm line 2eval {...} called at /usr/local/share/perl/5.10.0/Dancer.pm line 2require bin/app.pl called at (eval 8) line 3eval 'package Plack::Sandbox::bin_2fapp_2epl;{my $app = do $_file;if ( !$app && ( my $error = $@ || $! )) { die $error; }$app;};' called at /usr/local/share/perl/5.10.0/Plack/Util.pm line 108Plack::Util::_load_sandbox('bin/app.pl') called at /usr/local/share/perl/5.10.0/Plack/Util.pm line 124Plack::Util::load_psgi('bin/app.pl') called at /usr/local/share/perl/5.10.0/Plack/Runner.pm line 173Plack::Runner::__ANON__() called at /usr/local/share/perl/5.10.0/Plack/Runner.pm line 23Plack::Runner::__ANON__() called at /usr/local/share/perl/5.10.0/Plack/Runner.pm line 23Plack::Runner::__ANON__() called at /usr/local/share/perl/5.10.0/Plack/Runner.pm line 23Plack::Runner::__ANON__() called at /usr/local/share/perl/5.10.0/Plack/Runner.pm line 23Plack::Runner::__ANON__() called at /usr/local/share/perl/5.10.0/Plack/Loader.pm line 56Plack::Loader::preload_app('Plack::Loader=HASH(0x91d2550)', 'CODE(0x93054e0)') called at /usr/local/share/perl/5.10.0/Plack/Runner.pm line 253Plack::Runner::run('Plack::Runner=HASH(0x9119bf0)') called at /usr/local/bin/plackup line 10BEGIN failed--compilation aborted at bin/app.pl line 2.Thanks for any help!