[Catalyst-dev] RFC - ConfigLoader interface improvement

Joel Bernstein joel at fysh.org
Tue Aug 22 16:47:21 CEST 2006


After reading Fayland Lam's mail to the list, asking why:
	__PACKAGE__->config( files => [ qw( filea fileb filec ) ] );
doesn't work, I checked the synopsis of ConfigLoader and noted that
there is nothing to suggest it /ought/ to work.

However, it shouldn't be difficult to implement that behaviour, if
people want it. I'm already working on a new version of ConfigLoader, so
I could add that feature to it with relative ease. I don't see any
problem with adding it to the existing LTjake ConfigLoader code too, and
making an interim release to CPAN to satisfy Fayland. 

What do you guys think about this? Is there any reason why people should
/not/ be able to supply multiple config files? I guess anything he can
do with several he could also do with one file, but I can see the logic
in breaking up class-specific config into separate files. 

Comments? Bad idea? Shall I go ahead and make up a patch?


More information about the Catalyst-dev mailing list