[Catalyst] Catalyst::Plugin::FileConfig

Bernhard Bauer bauerb at in.tum.de
Sun Jun 19 15:37:12 CEST 2005


On 7.6.2005, at 00:15, Sebastian Riedel wrote:

>>> I tend to use this little idiom...
>>>
>>>       use YAML 'LoadFile';
>>>       use Path::Class 'file';
>>>
>>>       MyApp->config(
>>>           LoadFile( file( MyApp->config->{home}, 'myapp.yml' ) ) );
>>>
>>
>>  That looks good.  Some kind of config plugin and some mention in the
>>  docs would be nice, but I'm glad to see it's that easy.
>
> Contributions welcome... it's a matter of a few lines of code, but
> until now nobody requested a plugin...

Incidentally, I've written such a plugin for myself, so I just  
decided to upload it on CPAN...

http://search.cpan.org/perldoc?Catalyst::Plugin::FileConfig

Comments and suggestions welcome!


-- 
Bernhard Bauer

bauerb at in.tum.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4228 bytes
Desc: not available
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20050619/4ad36f66/smime.bin


More information about the Catalyst mailing list