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


Advertisement

Description

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

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

Requires

Provides

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

    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

    • /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
    Advertisement
    Advertisement