[Dancer-users] Dancer 2 and skeleton dir
Stefan Hornburg (Racke)
racke at linuxia.de
Fri Oct 12 16:28:33 CEST 2012
On 10/11/2012 12:22 PM, sawyer x wrote:
> On Thu, Oct 11, 2012 at 12:02 PM, Stefan Hornburg (Racke)
> <racke at 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.
To resolve this, simply install YAML from CPAN, for instance using one of the
following commands:
cpan YAML
perl -MCPAN -e 'install YAML'
curl -L http://cpanmin.us | perl - --sudo YAML
*****
NOYAML
}
Regards
Racke
--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team
More information about the Dancer-users
mailing list