NAME
Egg::Helper::Config::YAML - The configuration of the YAML format is output.
SYNOPSIS
% cd /path/to/MyApp/bin
% ./myapp_helper.pl Config::YAML
......
...
% vi ./etc/myapp.yaml
.......
....
And, the controller is edited.
% cd /path/to/MyApp
% vi ./lib/myapp.pm
package MyApp;
........
....
__PACKAGE__->egg_startup(\'/path/to/MyApp/etc/myapp.yaml');
DESCRIPTION
It is a helper who output the sample of the configuration of YAML format.
The file is output to 'etc' directory of the project.
To pass passing this file to 'egg_startup' by the SCALAR reference after it outputs it, the controller is edited.
When the project is started by this, the configuration of the YAML form comes to be read.
It is Egg::Plugin::ConfigLoader in the plugin. Please do not forget to specify.
If the great this file already exists when outputting it, the file rotation is done.
SEE ALSO
Egg::Release, Egg::Helper, Egg::Plugin::ConfigLoader, Egg::Plugin::File::Rotate,
AUTHOR
Masatoshi Mizuno <lushe@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2008 Bee Flag, Corp. <http://egg.bomcity.com/>, All Rights Reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.