[Catalyst] load more than 2 yaml files in Catalyst

Fayland Lam fayland at gmail.com
Tue Aug 22 03:37:49 CEST 2006

Joel Bernstein wrote:
> On Mon, Aug 21, 2006 at 10:09:10AM +0000, fayland wrote:
>> Now I'm using Config::YAML to load more than 2 yaml files in Catalyst, 
>> but I wonder why ConfigLoader don't support to load more than 2 yaml 
>> files? (like a.yaml b.yaml c.yaml, but not a.yaml a_local.yaml)
> Are you sure? What version of ConfigLoader are you using? You can find
> out with:
> perl -MCatalyst::Plugin::ConfigLoader -le 'print
> $Catalyst::Plugin::ConfigLoader::VERSION'


something like:

__PACKAGE__->config( file => ['a.yml', 'b.yml', 'c.yml'] );

It doesn't work for me? What's wrong?

>> Am I missing something?
> Not unless there's a problem with the YAML files, I'd say. Have you
> verified that both are valid YAML? Do they possibly contain exactly the
> same keys and overwrite each other?
> /joel
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/

More information about the Catalyst mailing list