ZConf::DevTemplate - Creates a the basic framework for a ZConf based module.
Version 0.1.1
use ZConf::DevTemplate; my $zcdt = ZConf::DevTemplate->new();
This creates a new module.
This is the name of the module.
This is the email address of the author.
This is author's name.
This is the ZConf config the module will use.
my $module=$zcdt->processGUI({ name=>'Some::Module', email=>'foo@bar', author=>'Foo Bar', config=>'someModule', }); if($zcdt->{error}){ print "Error!\n"; }
This processes 'ZConf::template::GUI' and returns a string containing the module.
It takes one arguement and that is a hash.
This processes 'ZConf::template' and returns a string containing the new module.
my $module=$zcdt->processTemplate({ name=>'Some::Module', email=>'foo@bar', author=>'Foo Bar', config=>'someModule', }); if($zcdt->{error}){ print "Error!\n"; }
This blanks the error storage and is only meant for internal usage.
It does the following.
$self->{error}=undef; $self->{errorString}="";
Missing arguement.
Could not open 'ZConf::template';
Zane C. Bowers, <vvelox at vvelox.net>
<vvelox at vvelox.net>
Please report any bugs or feature requests to bug-zconf-devtemplate at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=ZConf-DevTemplate. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-zconf-devtemplate at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc ZConf::DevTemplate
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=ZConf-DevTemplate
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/ZConf-DevTemplate
CPAN Ratings
http://cpanratings.perl.org/d/ZConf-DevTemplate
Search CPAN
http://search.cpan.org/dist/ZConf-DevTemplate/
Copyright 2009 Zane C. Bowers, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install ZConf::DevTemplate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ZConf::DevTemplate
CPAN shell
perl -MCPAN -e shell install ZConf::DevTemplate
For more information on module installation, please visit the detailed CPAN module installation guide.