Acme-CPANModules-OneLinerTools

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

        subroutine once again.

    lib::xi
        Author: GFUJI <https://metacpan.org/author/GFUJI>

        This module can automatically install missing module during run-time
        using "cpanm". Convenient when running a Perl script (that comes
        without a proper distribution or "cpanfile") that uses several
        modules which you might not have. The alternative to lib::xi is the
        "trial and error" method: repeatedly run the Perl script to see
        which module it tries and fails to load.

        lib::xi works by installing a hook in @INC.

        Alternate modules: Require::Hook::More

    Log::ger::App
        Author: PERLANCAR <https://metacpan.org/author/PERLANCAR>

        A convenient way to display (consume) logs if your application uses
        Log::ger to produce logs.

    DD::Dummy
        Author: PERLANCAR <https://metacpan.org/author/PERLANCAR>

        My preference when dumping data structure when debugging Perl
        application is, well, Perl format (unlike some others which prefer
        custom format like Data::Printer). The DD-Dummy distribution
        provides DD module, which in turn exports "dd" to dump your data
        structures for debugging using Data::Dump. Another good alternative
        is XXX which by default uses YAML output but can be changed with
        this environment variable setting:

         PERL_XXX_DUMPER=Data::Dump

        Alternate modules: XXX, Data::Printer

    Devel::Confess
        Author: HAARG <https://metacpan.org/author/HAARG>

        Forces stack trace when your application warns or dies. Used with
        the perl's "-d" flag:

         % perl -d:Confess ...
         % perl -d:Confess=dump ...

    Carp::Patch::Config
        Author: PERLANCAR <https://metacpan.org/author/PERLANCAR>

        Carp is used as a stack trace printer (also indirectly if you use
        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
    this_mod
        Author: PERLANCAR <https://metacpan.org/author/PERLANCAR>

    lib::filter
        Author: PERLANCAR <https://metacpan.org/author/PERLANCAR>

FAQ
  What is an Acme::CPANModules::* module?
    An Acme::CPANModules::* module, like this module, contains just a list
    of module names that share a common characteristics. It is a way to
    categorize modules and document CPAN. See Acme::CPANModules for more
    details.

  What are ways to use this Acme::CPANModules module?
    Aside from reading this Acme::CPANModules module's POD documentation,
    you can install all the listed modules (entries) using cpanm-cpanmodules
    script (from App::cpanm::cpanmodules distribution):

     % cpanm-cpanmodules -n OneLinerTools

    Alternatively you can use the cpanmodules CLI (from App::cpanmodules
    distribution):

        % cpanmodules ls-entries OneLinerTools | cpanm -n

    or Acme::CM::Get:

        % perl -MAcme::CM::Get=OneLinerTools -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n

    or directly:

        % perl -MAcme::CPANModules::OneLinerTools -E'say $_->{module} for @{ $Acme::CPANModules::OneLinerTools::LIST->{entries} }' | cpanm -n

    This Acme::CPANModules module also helps lcpan produce a more meaningful
    result for "lcpan related-mods" command when it comes to finding related
    modules for the modules listed in this Acme::CPANModules module. See
    App::lcpan::Cmd::related_mods for more details on how "related modules"
    are found.

HOMEPAGE
    Please visit the project's homepage at
    <https://metacpan.org/release/Acme-CPANModules-OneLinerTools>.

SOURCE
    Source repository is at
    <https://github.com/perlancar/perl-Acme-CPANModules-OneLinerTools>.

SEE ALSO
    Acme::CPANModules::OneLetter



( run in 1.537 second using v1.01-cache-2.11-cpan-39bf76dae61 )