perl-App-CLI-Plugin-DBI-1.1-alt1.noarch.rpm


Advertisement

Description

perl-App-CLI-Plugin-DBI - for App::CLI::Extension database base module

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-App-CLI-Plugin-DBI
Package version 1.1
Package release alt1
Package architecture noarch
Package type rpm
Installed size 5.64 KB
Download size 5.64 KB
Official Mirror ftp.altlinux.org
App::CLI::Extension DBI plugin module
dbh method setting
normal setting
__PACKAGE__->config(dbi => ["dbi:Pg:dbname=app_db", "foo", "bar", { RaiseError => 1, pg_enable_utf8 => 1 }]);
my $dbh = $self->dbh;
multi db setting
__PACKAGE__->config(dbi => {
default  => ["dbi:Pg:dbname=app_db", "foo", "bar", { RaiseError => 1, pg_enable_utf8 => 1 }]
other    => ["dbi:Pg:dbname=other_db;host=192.168.1.100;port=5432", "foo", "bar", { RaiseError => 1, pg_enable_utf8 => 1 }]
);
my $default_dbh = $self->dbh; # same as $self->dbh("default")
my $other_dbh   = $self->dbh("other");

Alternatives

Package Version Architecture Repository
perl-App-CLI-Plugin-DBI - - -

Requires

Name Value
/usr/share/perl5 -
perl(Class/Accessor/Grouped.pm) -
perl(DBI.pm) -
perl(base.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(App/CLI/Plugin/DBI.pm) = 1.100
perl-App-CLI-Plugin-DBI = 1.1-alt1

Download

Type URL
Binary Package perl-App-CLI-Plugin-DBI-1.1-alt1.noarch.rpm
Source Package perl-App-CLI-Plugin-DBI-1.1-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-App-CLI-Plugin-DBI rpm package:
    # sudo apt-get install perl-App-CLI-Plugin-DBI

Files

Path
/usr/share/doc/perl-App-CLI-Plugin-DBI-1.1/Changes
/usr/share/doc/perl-App-CLI-Plugin-DBI-1.1/README
/usr/share/perl5/App/
/usr/share/perl5/App/CLI/
/usr/share/perl5/App/CLI/Plugin/DBI.pm

See Also

Package Description
perl-App-CLI-Plugin-Daemonize-1.0-alt1.noarch.rpm for App::CLI::Plugin::Extension daemonize plugin module
perl-App-CLI-Plugin-Log-Dispatch-Configurator-YAML-1.1-alt1.noarch.rpm for App::CLI::Extension easy Log::Dispatch module
perl-App-CLI-Plugin-Net-SMTP-1.3-alt1.noarch.rpm for App::CLI::Extension mail module
perl-App-CLI-Plugin-Parallel-ForkManager-1.1-alt1.noarch.rpm for App::CLI::Extension fork plugin module
perl-App-CLI-Plugin-Proc-PID-File-1.3-alt1.noarch.rpm for App::CLI::Extension pidfile plugin module
perl-App-CLI-Plugin-StackTrace-1.1-alt1.noarch.rpm for App::CLI::Extension error stacktrace module
perl-App-CLI-Toolkit-0.03-alt1.noarch.rpm a helper module for generating command-line utilities
perl-App-CLITestUtils-0.002-alt1.noarch.rpm CLI utilities related to testing/debugging in CLI environment
perl-App-CPAN-Changes-0.002-alt1.noarch.rpm CLI for CPAN::Changes
perl-App-CPAN-Dependents-1.000-alt1.noarch.rpm Recursively find all reverse dependencies for a distribution or module
perl-App-CPAN-Dependents-scripts-1.000-alt1.noarch.rpm App-CPAN-Dependents scripts
perl-App-CPAN-Fresh-0.12-alt1.noarch.rpm Query and install CPAN modules realtime from the fresh mirror
perl-App-CPAN-MetaDB-0.04-alt1.noarch.rpm Provide CPAN metadata for cpanminus clients
perl-App-CPAN-Mini-Visit-0.008-alt1.noarch.rpm explore each distribution in a minicpan repository
perl-App-CPAN-Mini-Visit-scripts-0.008-alt1.noarch.rpm App-CPAN-Mini-Visit scripts
Advertisement
Advertisement