Egg::Helper::Model::DBI - Helper who generates component of model DBI.
% cd /path/to/MyApp/bin % ./myapp_helper.pl M::DBI MyDBI -d dbi:SQLite:dbname=dbfile .......... ......
It is a helper who generates the component to use it with Egg::Model::DBI under the control of the project.
It starts specifying the Model::DBI mode and the generated module name for the helper script of the project to use it.
% ./myapp_helper.pl Model::DBI [COMPONENT]
The setting of DBI can be buried in passing the following options to the helper script.
-d ... DNS. -s ... Host of data base. -i ... The Internet port of data base. -u ... User of data base. -p ... Password of data base. -v ... Version of generated component.
When all the options are specified, it becomes the following feeling.
% ./myapp_helper.pl Model::DBI MyComp \ % -d dbi:Pg:dbname=dbfile \ % -s localhost \ % -i 5432 \ % -u db_user \ % -p db_password \ % -v 0.01
Egg::Release, Egg::Model::DBI,
Masatoshi Mizuno <lushe@cpan.org>
Copyright (C) 2008 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.
To install Egg::Release::DBI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Egg::Release::DBI
CPAN shell
perl -MCPAN -e shell install Egg::Release::DBI
For more information on module installation, please visit the detailed CPAN module installation guide.