Acme-CPANModules-OneLinerTools
view release on metacpan or search on metacpan
":PerlExecFiles"
],
"skips" : [],
"switch" : []
}
},
"name" : "@Author::PERLANCAR/Test::Compile",
"version" : "2.058"
},
{
"class" : "Dist::Zilla::Plugin::Test::Perl::Critic::Subset",
"config" : {
"Dist::Zilla::Plugin::Test::Perl::Critic::Subset" : {
"finder" : [
":ExecFiles",
":InstallModules",
":TestFiles"
]
}
},
"name" : "@Author::PERLANCAR/Test::Perl::Critic::Subset",
"version" : "3.001.006"
},
{
"class" : "Dist::Zilla::Plugin::Test::Rinci",
"name" : "@Author::PERLANCAR/Test::Rinci",
"version" : "0.040"
},
{
"class" : "Dist::Zilla::Plugin::StaticInstall",
"config" : {
- ':InstallModules'
needs_display: 0
phase: test
script_finder:
- ':PerlExecFiles'
skips: []
switch: []
name: '@Author::PERLANCAR/Test::Compile'
version: '2.058'
-
class: Dist::Zilla::Plugin::Test::Perl::Critic::Subset
config:
Dist::Zilla::Plugin::Test::Perl::Critic::Subset:
finder:
- ':ExecFiles'
- ':InstallModules'
- ':TestFiles'
name: '@Author::PERLANCAR/Test::Perl::Critic::Subset'
version: 3.001.006
-
class: Dist::Zilla::Plugin::Test::Rinci
name: '@Author::PERLANCAR/Test::Rinci'
version: '0.040'
-
class: Dist::Zilla::Plugin::StaticInstall
config:
Dist::Zilla::Plugin::StaticInstall:
dry_run: 0
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"); ...'
you can now write:
% perl -ML -E'$doc = Org::Parser::Tiny->new->parse_file("/home/budi/todo.org"); ...'
"Module autoloader" modules work using Perl's autoloading mechanism
(read "perlsub" for more details). By declaring a subroutine named
"AUTOLOAD" in the "UNIVERSAL" package, you setup a fallback
mechanism when you call an undefined subroutine. L's AUTOLOADER
loads the module using Module::Load then try to invoke the undefined
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
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:
lib/Acme/CPANModules/OneLinerTools.pm view on Meta::CPAN
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"); ...'
you can now write:
% perl -ML -E'$doc = Org::Parser::Tiny->new->parse_file("/home/budi/todo.org"); ...'
"Module autoloader" modules work using Perl's autoloading mechanism (read
`perlsub` for more details). By declaring a subroutine named `AUTOLOAD` in the
`UNIVERSAL` package, you setup a fallback mechanism when you call an undefined
subroutine. <pm:L>'s AUTOLOADER loads the module using <pm:Module::Load> then
try to invoke the undefined subroutine once again.
MARKDOWN
tags => ['module-loading'],
},
{
module => 'lib::xi',
description => <<'MARKDOWN',
lib/Acme/CPANModules/OneLinerTools.pm view on Meta::CPAN
{
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
<pm:Data::Dump>. Another good alternative is <pm:XXX> which by default uses YAML
output but can be changed with this environment variable setting:
PERL_XXX_DUMPER=Data::Dump
MARKDOWN
alternate_modules => ['XXX', 'Data::Printer'],
tags => ['debugging'],
},
{
module => 'Devel::Confess',
lib/Acme/CPANModules/OneLinerTools.pm view on Meta::CPAN
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"); ...'
you can now write:
% perl -ML -E'$doc = Org::Parser::Tiny->new->parse_file("/home/budi/todo.org"); ...'
"Module autoloader" modules work using Perl's autoloading mechanism (read
C<perlsub> for more details). By declaring a subroutine named C<AUTOLOAD> in the
C<UNIVERSAL> package, you setup a fallback mechanism when you call an undefined
subroutine. L<L>'s AUTOLOADER loads the module using L<Module::Load> then
try to invoke the undefined subroutine once again.
=item L<lib::xi>
Author: L<GFUJI|https://metacpan.org/author/GFUJI>
This module can automatically install missing module during run-time using
C<cpanm>. Convenient when running a Perl script (that comes without a proper
lib/Acme/CPANModules/OneLinerTools.pm view on Meta::CPAN
=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
L<Data::Dump>. Another good alternative is L<XXX> which by default uses YAML
output but can be changed with this environment variable setting:
PERL_XXX_DUMPER=Data::Dump
Alternate modules: L<XXX>, L<Data::Printer>
=item L<Devel::Confess>
Author: L<HAARG|https://metacpan.org/author/HAARG>
t/author-critic.t view on Meta::CPAN
unless ($ENV{AUTHOR_TESTING}) {
print qq{1..0 # SKIP these tests are for testing by the author\n};
exit
}
}
use strict;
use warnings;
# this test was generated with Dist::Zilla::Plugin::Test::Perl::Critic::Subset 3.001.006
use Test::Perl::Critic (-profile => "") x!! -e "";
my $filenames = ['lib/Acme/CPANModules/OneLinerTools.pm'];
unless ($filenames && @$filenames) {
$filenames = -d "blib" ? ["blib"] : ["lib"];
}
all_critic_ok(@$filenames);
( run in 1.073 second using v1.01-cache-2.11-cpan-49f99fa48dc )