ZConf::template -
Version 0.0.0
Quick summary of what the module does.
Perhaps a little code snippet.
use ZConf::template; my $foo = ZConf::template->new(); ...
This initializes it.
One arguement is taken and that is a hash.
If this is defined, it will be used instead of creating a new ZConf object.
my $foo=ZConf::template->new; if($foo->error){ warn('error '.$foo->error.': '.$foo->errorString); }
This removes the specified ZConf set.
$foo->delSet('someSet'); if($foo->{error}){ warn('error '.$foo->error.': '.$foo->errorString); }
This returns the ZConf object.
The only time this will error is if a permanent error is set.
my $zconf=$foo->getZConf; if ($foo->error){ warn('error '.$foo->error.': '.$foo->errorString); }
This initiates a new set. If a set already exists, it will be overwritten.
If the set specified is undefined, the default will be used.
The set is not automatically read.
$foo->init($set); if($foo->{error}){ warn('error '.$foo->error.': '.$foo->errorString); }
This lists the available sets for the ZConf config.
my @sets=$foo->listSets; if($foo->{error}){ warn('error '.$foo->error.': '.$foo->errorString); }
This reads a specified ZConf set.
If no set is specified, the default is used.
$foo->readSet('someSet'); if($foo->{error}){ warn('error '.$foo->error.': '.$foo->errorString); }
This returns the current error code if one is set. If undef/evaulates as false then no error is present. Other wise one is.
if($foo->error){ warn('error '.$foo->error.': '.$foo->errorString); }
This returns the current error string. A return of "" means no error is present.
my $errorString=$foo->errorString;
This blanks the error storage and is only meant for internal usage.
It does the following.
$foo->{error}=undef; $foo->{errorString}="";
ZConf errored.
%%%%AUTHOR%%%, <%%%EMAIL%%%>
<%%%EMAIL%%%>
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-template. 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::template
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=ZConf-template
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/ZConf-template
CPAN Ratings
http://cpanratings.perl.org/d/ZConf-template
Search CPAN
http://search.cpan.org/dist/ZConf-template/
Copyright 2009 %%%AUTHOR%%%, 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.