NAME
Egg::Base - Common base class for project component for Egg.
SYNOPSIS
package MYPROJECT::AnyClass;
use strict;
use base qw/ Egg::Base /;
METHODS
config
The HASH reference of the configuration is returned.
When HASH is passed, it sets it as a global value of the class that calls it.
__PACKAGE__->config(
hoge=> 'param',
...
);
init_name
The defined value is returned.
When the value is given, it maintains it as a global value. The usage is not especially decided.
__PACKAGE__->init_name( 'fooo' );
include
When the module name is given, the module is include. And, the name is added to ARRAY.
__PACKAGE__->include('Foo::Module');
include_packages
The list of the module that include is done by 'Include' is returned.
SEE ALSO
AUTHOR
Masatoshi Mizuno, <lushe@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2006 Bee Flag, Corp. <http://egg.bomcity.com/>, All Rights Reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.