Egg::Helper::Model::DBI - Helper who generates component of model DBI.


Egg-Release-DBI documentation  | view source Contained in the Egg-Release-DBI distribution.

Index


NAME

Top

Egg::Helper::Model::DBI - Helper who generates component of model DBI.

SYNOPSIS

Top

  % cd /path/to/MyApp/bin
  % ./myapp_helper.pl M::DBI MyDBI -d dbi:SQLite:dbname=dbfile
  ..........
  ......

DESCRIPTION

Top

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

SEE ALSO

Top

Egg::Release, Egg::Model::DBI,

AUTHOR

Top

Masatoshi Mizuno <lushe&64;cpan.org>

COPYRIGHT AND LICENSE

Top


Egg-Release-DBI documentation  | view source Contained in the Egg-Release-DBI distribution.