On 10/12/2012 05:07 PM, David Precious wrote:
On Fri, 12 Oct 2012 16:28:33 +0200 "Stefan Hornburg (Racke)"<racke@linuxia.de> wrote:
On 10/11/2012 12:22 PM, sawyer x wrote:
On Thu, Oct 11, 2012 at 12:02 PM, Stefan Hornburg (Racke) <racke@linuxia.de>wrote:
On 10/11/2012 11:23 AM, damien krotkine wrote:
Yep,
Sawyer : can you try to push it in master as soon as you're convinced it's stable and sane enough ?
I suppose it needs a bit of rewrite as Dancer::Script class derives from Dancer::Object, which is gone in Dancer 2.
Yes. Indeed.
Also, any suggestions on rewriting this part of code for Dancer 2 as Dancer::ModuleLoader is gone too:
unless (Dancer::ModuleLoader->load('YAML')) { print<<NOYAML; ***** WARNING: YAML.pm is not installed. This is not a full dependency, but is highly recommended; in particular, the scaffolded Dancer app being created will not be able to read settings from the config file without YAML.pm being installed. [...]
Since Dancer2 uses Config::Any, so they could use any of a variety of config file formats, I expect that bit can just be removed.
I suppose we have to start with ONE configuration file format for Dancer::Script though. IMHO new users don't want to decide about the format and such. Regards Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team