LibreCat / Catmandu

Catmandu - a data processing toolkit
https://librecat.org
176 stars 31 forks source link

catmandu.yml can't be found if it is in the current directory #70

Closed phochste closed 10 years ago

phochste commented 10 years ago

The catmandu.yml file need to be always in a higher directory than the executing script?

vpeil commented 10 years ago

Yes that's correct: in the same or in a higher directory. But you can specify the path:

Catmandu->load("examples/conf");
Catmandu->config;
phochste commented 10 years ago

My mistake. I had a perl module that did

package MyBad;

use Catmandu -load;

And other perl modules that did the same thing. I think the loading of configs went berserk