Acme-CPANModules-OneLinerTools

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

        Devel::Confess). Sometimes you want to customize some Carp
        parameters like $Carp::MaxArgNums and $Carp::MaxArgLen from the
        command-line, and this is where this module helps.

    DBIx::Conn::MySQL
        Author: PERLANCAR <https://metacpan.org/author/PERLANCAR>

        Shortcut when connecting to MySQL database in your one-liner.
        Instead of:

         % perl -MDBI -E'my $dbh = DBI->connect("dbi:mysql:database=mydb", "someuser", "somepass"); $dbh->selectrow_array("query"); ...'

        you can type:

         % perl -MDBIx::Conn::MySQL=mydb -E'$dbh->selectrow_array("query"); ...'

    DBIx::Conn::SQLite
        Author: PERLANCAR <https://metacpan.org/author/PERLANCAR>

        Shortcut when connecting to MySQL database in your one-liner.
        Instead of:

         % perl -MDBI -E'my $dbh = DBI->connect("dbi:SQLite:dbname=mydb", "", ""); $dbh->selectrow_array("query"); ...'

        you can type:

         % perl -MDBIx::Conn::SQLite=mydb -E'$dbh->selectrow_array("query"); ...'

    ojo Author: SRI <https://metacpan.org/author/SRI>

    DDP From the Data::Printer distribution.

        Author: GARU <https://metacpan.org/author/GARU>

    XXX Author: INGY <https://metacpan.org/author/INGY>

    eval

lib/Acme/CPANModules/OneLinerTools.pm  view on Meta::CPAN

MARKDOWN
            tags => ['debugging'],
        },

        {
            module => 'DBIx::Conn::MySQL',
            description => <<'MARKDOWN',

Shortcut when connecting to MySQL database in your one-liner. Instead of:

    % perl -MDBI -E'my $dbh = DBI->connect("dbi:mysql:database=mydb", "someuser", "somepass"); $dbh->selectrow_array("query"); ...'

you can type:

    % perl -MDBIx::Conn::MySQL=mydb -E'$dbh->selectrow_array("query"); ...'

MARKDOWN
            tags => ['database', 'dbi'],
        },

        {
            module => 'DBIx::Conn::SQLite',
            description => <<'MARKDOWN',

Shortcut when connecting to MySQL database in your one-liner. Instead of:

    % perl -MDBI -E'my $dbh = DBI->connect("dbi:SQLite:dbname=mydb", "", ""); $dbh->selectrow_array("query"); ...'

you can type:

    % perl -MDBIx::Conn::SQLite=mydb -E'$dbh->selectrow_array("query"); ...'

MARKDOWN
            tags => ['database', 'dbi'],
        },

        {module=>'ojo'},
        {module=>'DDP', summary=>'From the Data::Printer distribution', tags=>['debugging']},
        {module=>'XXX', tags=>['debugging']},
        {module=>'eval', tags=>['debugging']},
        {module=>'this_mod', tags=>['module-loading']},

lib/Acme/CPANModules/OneLinerTools.pm  view on Meta::CPAN

$Carp::MaxArgNums and $Carp::MaxArgLen from the command-line, and this is where
this module helps.


=item L<DBIx::Conn::MySQL>

Author: L<PERLANCAR|https://metacpan.org/author/PERLANCAR>

Shortcut when connecting to MySQL database in your one-liner. Instead of:

 % perl -MDBI -E'my $dbh = DBI->connect("dbi:mysql:database=mydb", "someuser", "somepass"); $dbh->selectrow_array("query"); ...'

you can type:

 % perl -MDBIx::Conn::MySQL=mydb -E'$dbh->selectrow_array("query"); ...'


=item L<DBIx::Conn::SQLite>

Author: L<PERLANCAR|https://metacpan.org/author/PERLANCAR>

Shortcut when connecting to MySQL database in your one-liner. Instead of:

 % perl -MDBI -E'my $dbh = DBI->connect("dbi:SQLite:dbname=mydb", "", ""); $dbh->selectrow_array("query"); ...'

you can type:

 % perl -MDBIx::Conn::SQLite=mydb -E'$dbh->selectrow_array("query"); ...'


=item L<ojo>

Author: L<SRI|https://metacpan.org/author/SRI>

=item L<DDP>

From the Data::Printer distribution.



( run in 1.237 second using v1.01-cache-2.11-cpan-49f99fa48dc )