Hyper::Developer::Generator - abstract base class for code generation.
This document describes Hyper::Developer::Generator 0.01
package Hyper::Developer::Generator::Example; use base qw(Hyper::Developer::Generator); Hyper::Developer::Generator::Example->new({ service => 'MyService', usecase => 'AnotherUsecase', }); 1;
Hyper::Developer::Generator is an abstract base class for code and environment generation in the Hyper framework.
Called automatically from Class::Std after object initialization.
$generator->create();
Creates files for the service of the usecase.
$object->verbose_message('message 1', 'message 2');
Prints params and a newline if verbose attribute is true.
Use Hyper::Singleton::Context for your configuration.
Sample for your Context.ini
[Global] base_path=/srv/web/www.example.com/
version
Class::Std
Template
Hyper::Error
Hyper::Singleton::Context
$Author: ac0v $
$Id: Generator.pm 333 2008-02-18 22:59:27Z ac0v $
$Revision: 333 $
$Date: 2008-02-18 23:59:27 +0100 (Mon, 18 Feb 2008) $
$HeadURL: http://svn.hyper-framework.org/Hyper/Hyper-Developer/branches/0.07/lib/Hyper/Developer/Generator.pm $
Andreas Specht <ACID@cpan.org>
<ACID@cpan.org>
Copyright (c) 2007, Andreas Specht <ACID@cpan.org>. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Hyper::Developer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Hyper::Developer
CPAN shell
perl -MCPAN -e shell install Hyper::Developer
For more information on module installation, please visit the detailed CPAN module installation guide.