Hi Jan,
thanks for your report.
On Sat Apr 14 14:58:28 2012, jploski wrote:
Show quoted text> "Can't load application "script/boilerplate.pl": at (eval 105) line
5."
Show quoted text
I cannot reproduce this:
An easy way to let YamlConfig die in sub parse is, setting MOJO_YAML to
something not existant, so here I set it to YAML::Foo:
$ MOJO_YAML=YAML::Foo morbo foo.pl
YAML::Foo is not supported, use at your own risk at
/opt/perl5/perls/perl-
5.14.2/lib/site_perl/5.14.2/Mojolicious/Plugin/YamlConfig.pm line 18.
[Tue May 1 16:19:08 2012] [debug] Reading config file
"/lfs/home/danielt/tmp/foo.yaml".
Can't load application "foo.pl": Can't locate YAML/Foo.pm in @INC (@INC
contains: /opt/perl5/perls/perl-5.14.2/lib/site_perl/5.14.2/x86_64-linux
/opt/perl5/perls/perl-5.14.2/lib/site_perl/5.14.2 /opt/perl5/perls/perl-
5.14.2/lib/5.14.2/x86_64-linux /opt/perl5/perls/perl-5.14.2/lib/5.14.2 .
/opt/perl5/perls/perl-5.14.2/bin/../lib) at (eval 251) line 1, <$handle>
line 1.
`Can't locate YAML::Foo' looks reasonable to me.
Can you provide failing code please?
Also your Perl version might be interesting.
Bye,
DaTa