Acme-CPANModules-OneLinerTools
view release on metacpan or search on metacpan
NAME
Acme::CPANModules::OneLinerTools - List of modules to make your life
easier when writing perl one-liners
VERSION
This document describes version 0.005 of
Acme::CPANModules::OneLinerTools (from Perl distribution
Acme-CPANModules-OneLinerTools), released on 2024-06-21.
DESCRIPTION
This list also tries to catalog modules that are meant to be primarily
used in one-liners.
ACME::CPANMODULES ENTRIES
L Author: SONGMU <https://metacpan.org/author/SONGMU>
One of the "module autoloader" modules, which happens to have a
short name for one-liner usage. So instead of having to type this:
% perl -MOrg::Parser::Tiny -E'$doc = Org::Parser::Tiny->new->parse_file("/home/budi/todo.org"); ...'
"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
lib/Acme/CPANModules/OneLinerTools.pm view on Meta::CPAN
our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2024-06-21'; # DATE
our $DIST = 'Acme-CPANModules-OneLinerTools'; # DIST
our $VERSION = '0.005'; # VERSION
our $LIST = {
summary => 'List of modules to make your life easier when writing perl one-liners',
description => <<'MARKDOWN',
This list also tries to catalog modules that are meant to be primarily used in
one-liners.
MARKDOWN
entries => [
{
module => 'L',
description => <<'MARKDOWN',
One of the "module autoloader" modules, which happens to have a short name for
lib/Acme/CPANModules/OneLinerTools.pm view on Meta::CPAN
tags => ['module-loading'],
alternate_modules => [
'Require::Hook::More', # the autoinstalling feature has not been implemented though
],
},
{
module => 'Log::ger::App',
description => <<'MARKDOWN',
A convenient way to display (consume) logs if your application uses
<pm:Log::ger> to produce logs.
MARKDOWN
tags => ['logging'],
},
{
module => 'DD::Dummy',
description => <<'MARKDOWN',
My preference when dumping data structure when debugging Perl application is,
well, Perl format (unlike some others which prefer custom format like
<pm:Data::Printer>). The DD-Dummy distribution provides <pm:DD> module, which in
turn exports `dd` to dump your data structures for debugging using
lib/Acme/CPANModules/OneLinerTools.pm view on Meta::CPAN
=head1 NAME
Acme::CPANModules::OneLinerTools - List of modules to make your life easier when writing perl one-liners
=head1 VERSION
This document describes version 0.005 of Acme::CPANModules::OneLinerTools (from Perl distribution Acme-CPANModules-OneLinerTools), released on 2024-06-21.
=head1 DESCRIPTION
This list also tries to catalog modules that are meant to be primarily used in
one-liners.
=head1 ACME::CPANMODULES ENTRIES
=over
=item L<L>
Author: L<SONGMU|https://metacpan.org/author/SONGMU>
lib/Acme/CPANModules/OneLinerTools.pm view on Meta::CPAN
lib::xi works by installing a hook in C<@INC>.
Alternate modules: L<Require::Hook::More>
=item L<Log::ger::App>
Author: L<PERLANCAR|https://metacpan.org/author/PERLANCAR>
A convenient way to display (consume) logs if your application uses
L<Log::ger> to produce logs.
=item L<DD::Dummy>
Author: L<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
L<Data::Printer>). The DD-Dummy distribution provides L<DD> module, which in
turn exports C<dd> to dump your data structures for debugging using
( run in 0.231 second using v1.01-cache-2.11-cpan-4d50c553e7e )