Zucchini::Config::Create - write a sample configuration file
version 0.0.21
# create a new object $zucchini_cfg_create = Zucchini::Config::Create->new(); # write out a default config file $zucchini_cfg_create->write_default_config( file($ENV{HOME}, q{.zucchini}) );
It's mean to expect people to pluck a configuration file out if thin air.
This module's sole purpose is to write out a default .zucchini file to give users a fighting chance.
Creates a new instance of the top-level Zucchini object:
# create a new object $zucchini_cfg_create = Zucchini::Config::Create->new();
Given a filename, write out the default/sample configuration file. If the file already exists it will not be overwritten.
# write out a default config file $zucchini_cfg_create->write_default_config( file($ENV{HOME}, q{.zucchini}) );
The sample configuration file is supposed to be a reasonable example of how a functioning configuration file should look.
You should be able to get up and running with Zucchini by creating the default file, and modifying the following variables: source_dir, includes_dir, output_dir.
You might also like to edit some of the values in the <tags> section.
<tags>
Zucchini, Zucchini::Config
Chisel Wright <chiselwright@users.berlios.de>
<chiselwright@users.berlios.de>
Copyright 2008-2009 by Chisel Wright
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <http://www.perl.com/perl/misc/Artistic.html>
Chisel <chisel@chizography.net>
This software is copyright (c) 2012 by Chisel Wright.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Zucchini, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Zucchini
CPAN shell
perl -MCPAN -e shell install Zucchini
For more information on module installation, please visit the detailed CPAN module installation guide.