יובל קוג'מן (Yuval Kogman) > KiokuDB-Cmd > KiokuDB::Cmd::WithDSN::Create

Download:
KiokuDB-Cmd-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

NAME ^

KiokuDB::Cmd::WithDSN::Create - Write or create access to a DSN for command line tools

SYNOPSIS ^

    package KiokuDB::Cmd::Command::Blort;
    use Moose;

    extends qw(KiokuDB::Cmd::Base);

    with qw(KiokuDB::Cmd::WithDSN::Create);

    augment run => sub {
        my $self = shift;

        $self->backend;
    };

ATTRIBUTES ^

dsn

Command line attr for the DSN to connect to.

create

A boolean determining whether the create flag is passed to connect. Defaults to true but can be disabled (--nocreate).

clear

Command line attr determining whether or not clear will be called on the backend. Defaults to false.

backend

Non command line attr, contains the composed backend.

syntax highlighting: