sukria/Dancer — pull request #777 by Ovid (2012-04-18 13:06:07+00:00)
Title: Dancer::Config now reports why it could not load YAML.

Previously, if YAML could not load, it was reported that YAML was not present.
This change reports the actual error.

I'm debugging a nasty issue whereby YAML is present, but it cannot load. I do not yet know why, but Dancer::Config was not reporting the actual YAML load problem. This patch fixes that.

Side note: if anyone recognizes the following :)

Undefined subroutine &main::main:: called at /home/cpoe/perl5/perlbrew/perls/perl-5.12.2/lib/site_perl/5.12.2/YAML/Mo.pm line 5.

Cheers,
Ovid`