| ZConf-DevTemplate documentation | view source | Contained in the ZConf-DevTemplate distribution. |
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 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 is the name of the module.
This is the email address of the author.
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' and returns a string containing the new module.
It takes one arguement and that is a hash.
This is the name of the module.
This is the email address of the author.
This is the ZConf config the module will use.
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>
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.
You can find documentation for this module with the perldoc command.
perldoc ZConf::DevTemplate
You can also look for information at:
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.
| ZConf-DevTemplate documentation | view source | Contained in the ZConf-DevTemplate distribution. |