ZConf::DevTemplate - Creates a the basic framework for a ZConf based module.


ZConf-DevTemplate documentation  | view source Contained in the ZConf-DevTemplate distribution.

Index


NAME

Top

ZConf::DevTemplate - Creates a the basic framework for a ZConf based module.

VERSION

Top

Version 0.1.1

SYNOPSIS

Top

    use ZConf::DevTemplate;

    my $zcdt = ZConf::DevTemplate->new();




METHODS

Top

new

create

This creates a new module.

args hash

name

This is the name of the module.

email

This is the email address of the author.

author

This is author's name.

config

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";
    }

processGUI

This processes 'ZConf::template::GUI' and returns a string containing the module.

It takes one arguement and that is a hash.

args hash

name

This is the name of the module.

email

This is the email address of the author.

author

This is author's name.

config

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";
    }

processTemplate

This processes 'ZConf::template' and returns a string containing the new module.

It takes one arguement and that is a hash.

args hash

name

This is the name of the module.

email

This is the email address of the author.

author

This is author's name.

config

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";
    }

errorblank

This blanks the error storage and is only meant for internal usage.

It does the following.

    $self->{error}=undef;
    $self->{errorString}="";

ERROR CODES

Top

1

Missing arguement.

2

Could not open 'ZConf::template';

AUTHOR

Top

Zane C. Bowers, <vvelox at vvelox.net>

BUGS

Top

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.

SUPPORT

Top

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/

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


ZConf-DevTemplate documentation  | view source Contained in the ZConf-DevTemplate distribution.