[libperinci-cmdline-perl] 01/04: Imported Upstream version 1.48
gregor herrmann
gregoa at debian.org
Thu Oct 22 17:04:09 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libperinci-cmdline-perl.
commit 47e679e3686352ba9f566f74d68a32b7f3e73baa
Author: gregor herrmann <gregoa at debian.org>
Date: Thu Oct 22 18:59:52 2015 +0200
Imported Upstream version 1.48
---
Changes | 11 +++
MANIFEST | 6 +-
META.json | 91 +++++++++++++---------
META.yml | 88 ++++++++++++---------
Makefile.PL | 6 +-
README | 15 +++-
dist.ini | 2 +-
lib/Perinci/CmdLine.pm | 12 +--
lib/Perinci/CmdLine/Manual.pod | 4 +-
lib/Perinci/CmdLine/Manual/Examples.pod | 4 +-
lib/Perinci/CmdLine/Manual/FAQ.pod | 27 +++++--
t/00-compile.t | 4 +-
...elease-pod-coverage.t => author-pod-coverage.t} | 4 +-
t/{release-pod-syntax.t => author-pod-syntax.t} | 5 +-
14 files changed, 168 insertions(+), 111 deletions(-)
diff --git a/Changes b/Changes
index 43854fc..2f2722f 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,16 @@
Revision history for Perinci-CmdLine
+1.48 2015-10-22 (PERLANCAR)
+
+ - No functional changes.
+
+ - Apply spelling mistake fixes from [RT#107908], thanks gregor
+ herrmann.
+
+ - [doc] Expand more on how PC:Inline reduces startup time and which
+ framework should one choose.
+
+
1.47 2015-09-18 (PERLANCAR)
- Move manual from Perinci-CmdLine-Lite.
diff --git a/MANIFEST b/MANIFEST
index a511c21..fae8d93 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.037.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.040.
Changes
LICENSE
MANIFEST
@@ -12,6 +12,6 @@ lib/Perinci/CmdLine/Manual.pod
lib/Perinci/CmdLine/Manual/Examples.pod
lib/Perinci/CmdLine/Manual/FAQ.pod
t/00-compile.t
-t/release-pod-coverage.t
-t/release-pod-syntax.t
+t/author-pod-coverage.t
+t/author-pod-syntax.t
weaver.ini
diff --git a/META.json b/META.json
index d403f05..0f6127c 100644
--- a/META.json
+++ b/META.json
@@ -4,7 +4,7 @@
"perlancar <perlancar at cpan.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 5.037, CPAN::Meta::Converter version 2.150005",
+ "generated_by" : "Dist::Zilla version 5.040, CPAN::Meta::Converter version 2.150001",
"license" : [
"perl_5"
],
@@ -47,7 +47,7 @@
"web" : "https://github.com/perlancar/perl-Perinci-CmdLine"
}
},
- "version" : "1.47",
+ "version" : "1.48",
"x_Dist_Zilla" : {
"perl" : {
"version" : "5.022000"
@@ -59,60 +59,60 @@
"Dist::Zilla::Plugin::GatherDir" : {
"exclude_filename" : [],
"exclude_match" : [],
- "follow_symlinks" : "0",
- "include_dotfiles" : "0",
+ "follow_symlinks" : 0,
+ "include_dotfiles" : 0,
"prefix" : "",
"prune_directory" : [],
"root" : "."
}
},
"name" : "@Author::PERLANCAR/@Filter/GatherDir",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@Author::PERLANCAR/@Filter/PruneCruft",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@Author::PERLANCAR/@Filter/ManifestSkip",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@Author::PERLANCAR/@Filter/MetaYAML",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@Author::PERLANCAR/@Filter/License",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::PodCoverageTests",
"name" : "@Author::PERLANCAR/@Filter/PodCoverageTests",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@Author::PERLANCAR/@Filter/PodSyntaxTests",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::ExtraTests",
"name" : "@Author::PERLANCAR/@Filter/ExtraTests",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@Author::PERLANCAR/@Filter/ExecDir",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@Author::PERLANCAR/@Filter/ShareDir",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
@@ -122,22 +122,22 @@
}
},
"name" : "@Author::PERLANCAR/@Filter/MakeMaker",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@Author::PERLANCAR/@Filter/Manifest",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@Author::PERLANCAR/@Filter/ConfirmRelease",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@Author::PERLANCAR/@Filter/UploadToCPAN",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::Rinci::AbstractFromMeta",
@@ -177,12 +177,12 @@
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@Author::PERLANCAR/MetaJSON",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@Author::PERLANCAR/MetaConfig",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::GenShellCompletion",
@@ -326,7 +326,7 @@
{
"class" : "Pod::Weaver::Plugin::Rinci",
"name" : "@Author::PERLANCAR/Rinci",
- "version" : "0.43"
+ "version" : "0.47"
},
{
"class" : "Pod::Weaver::Plugin::AppendPrepend",
@@ -352,12 +352,12 @@
{
"class" : "Dist::Zilla::Plugin::PruneFiles",
"name" : "@Author::PERLANCAR/PruneFiles",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::ReadmeFromPod",
"name" : "@Author::PERLANCAR/ReadmeFromPod",
- "version" : "0.32"
+ "version" : "0.33"
},
{
"class" : "Dist::Zilla::Plugin::Rinci::AddPrereqs",
@@ -380,21 +380,21 @@
"Dist::Zilla::Plugin::Test::Compile" : {
"bail_out_on_fail" : "0",
"fail_on_warning" : "author",
- "fake_home" : "0",
+ "fake_home" : 0,
"filename" : "t/00-compile.t",
"module_finder" : [
":InstallModules"
],
- "needs_display" : "0",
+ "needs_display" : 0,
"phase" : "test",
"script_finder" : [
- ":ExecFiles"
+ ":PerlExecFiles"
],
"skips" : []
}
},
"name" : "@Author::PERLANCAR/Test::Compile",
- "version" : "2.053"
+ "version" : "2.054"
},
{
"class" : "Dist::Zilla::Plugin::Test::Rinci",
@@ -407,6 +407,11 @@
"version" : "0.01"
},
{
+ "class" : "Dist::Zilla::Plugin::Acme::CPANLists::Blacklist",
+ "name" : "@Author::PERLANCAR/Acme::CPANLists::Blacklist",
+ "version" : "0.01"
+ },
+ {
"class" : "Dist::Zilla::Plugin::Prereqs",
"config" : {
"Dist::Zilla::Plugin::Prereqs" : {
@@ -415,7 +420,7 @@
}
},
"name" : "TestRequires",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -426,47 +431,57 @@
}
},
"name" : "Prereqs",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "5.037"
+ "version" : "5.040"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":ExtraTestFiles",
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "5.037"
+ "version" : "5.040"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":PerlExecFiles",
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":AllFiles",
- "version" : "5.037"
+ "version" : "5.040"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":NoFiles",
- "version" : "5.037"
+ "version" : "5.040"
}
],
"zilla" : {
@@ -474,7 +489,7 @@
"config" : {
"is_trial" : "0"
},
- "version" : "5.037"
+ "version" : "5.040"
}
},
"x_authority" : "cpan:PERLANCAR"
diff --git a/META.yml b/META.yml
index 573e190..de2802b 100644
--- a/META.yml
+++ b/META.yml
@@ -10,7 +10,7 @@ build_requires:
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.037, CPAN::Meta::Converter version 2.150005'
+generated_by: 'Dist::Zilla version 5.040, CPAN::Meta::Converter version 2.150001'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -20,7 +20,7 @@ resources:
bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Perinci-CmdLine
homepage: https://metacpan.org/release/Perinci-CmdLine
repository: git://github.com/perlancar/perl-Perinci-CmdLine.git
-version: '1.47'
+version: '1.48'
x_Dist_Zilla:
perl:
version: '5.022000'
@@ -31,68 +31,68 @@ x_Dist_Zilla:
Dist::Zilla::Plugin::GatherDir:
exclude_filename: []
exclude_match: []
- follow_symlinks: '0'
- include_dotfiles: '0'
+ follow_symlinks: 0
+ include_dotfiles: 0
prefix: ''
prune_directory: []
root: .
name: '@Author::PERLANCAR/@Filter/GatherDir'
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@Author::PERLANCAR/@Filter/PruneCruft'
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@Author::PERLANCAR/@Filter/ManifestSkip'
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@Author::PERLANCAR/@Filter/MetaYAML'
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::License
name: '@Author::PERLANCAR/@Filter/License'
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::PodCoverageTests
name: '@Author::PERLANCAR/@Filter/PodCoverageTests'
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@Author::PERLANCAR/@Filter/PodSyntaxTests'
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::ExtraTests
name: '@Author::PERLANCAR/@Filter/ExtraTests'
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::ExecDir
name: '@Author::PERLANCAR/@Filter/ExecDir'
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::ShareDir
name: '@Author::PERLANCAR/@Filter/ShareDir'
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::MakeMaker
config:
Dist::Zilla::Role::TestRunner:
default_jobs: 1
name: '@Author::PERLANCAR/@Filter/MakeMaker'
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::Manifest
name: '@Author::PERLANCAR/@Filter/Manifest'
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@Author::PERLANCAR/@Filter/ConfirmRelease'
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@Author::PERLANCAR/@Filter/UploadToCPAN'
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::Rinci::AbstractFromMeta
name: '@Author::PERLANCAR/Rinci::AbstractFromMeta'
@@ -124,11 +124,11 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@Author::PERLANCAR/MetaJSON'
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@Author::PERLANCAR/MetaConfig'
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::GenShellCompletion
name: '@Author::PERLANCAR/GenShellCompletion'
@@ -244,7 +244,7 @@ x_Dist_Zilla:
-
class: Pod::Weaver::Plugin::Rinci
name: '@Author::PERLANCAR/Rinci'
- version: '0.43'
+ version: '0.47'
-
class: Pod::Weaver::Plugin::AppendPrepend
name: '@Author::PERLANCAR/AppendPrepend'
@@ -262,11 +262,11 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::PruneFiles
name: '@Author::PERLANCAR/PruneFiles'
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::ReadmeFromPod
name: '@Author::PERLANCAR/ReadmeFromPod'
- version: '0.32'
+ version: '0.33'
-
class: Dist::Zilla::Plugin::Rinci::AddPrereqs
name: '@Author::PERLANCAR/Rinci::AddPrereqs'
@@ -285,17 +285,17 @@ x_Dist_Zilla:
Dist::Zilla::Plugin::Test::Compile:
bail_out_on_fail: '0'
fail_on_warning: author
- fake_home: '0'
+ fake_home: 0
filename: t/00-compile.t
module_finder:
- ':InstallModules'
- needs_display: '0'
+ needs_display: 0
phase: test
script_finder:
- - ':ExecFiles'
+ - ':PerlExecFiles'
skips: []
name: '@Author::PERLANCAR/Test::Compile'
- version: '2.053'
+ version: '2.054'
-
class: Dist::Zilla::Plugin::Test::Rinci
name: '@Author::PERLANCAR/Test::Rinci'
@@ -305,13 +305,17 @@ x_Dist_Zilla:
name: '@Author::PERLANCAR/EnsureSQLSchemaVersionedTest'
version: '0.01'
-
+ class: Dist::Zilla::Plugin::Acme::CPANLists::Blacklist
+ name: '@Author::PERLANCAR/Acme::CPANLists::Blacklist'
+ version: '0.01'
+ -
class: Dist::Zilla::Plugin::Prereqs
config:
Dist::Zilla::Plugin::Prereqs:
phase: test
type: requires
name: TestRequires
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -319,42 +323,50 @@ x_Dist_Zilla:
phase: runtime
type: requires
name: Prereqs
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: '5.037'
+ version: '5.040'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':ExtraTestFiles'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: '5.037'
+ version: '5.040'
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':PerlExecFiles'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':AllFiles'
- version: '5.037'
+ version: '5.040'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':NoFiles'
- version: '5.037'
+ version: '5.040'
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: '0'
- version: '5.037'
+ version: '5.040'
x_authority: cpan:PERLANCAR
diff --git a/Makefile.PL b/Makefile.PL
index f91fb5b..f8bf4f4 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.037.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.040.
use strict;
use warnings;
@@ -13,7 +13,6 @@ my %WriteMakefileArgs = (
"ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "Perinci-CmdLine",
- "EXE_FILES" => [],
"LICENSE" => "perl",
"NAME" => "Perinci::CmdLine",
"PREREQ_PM" => {},
@@ -23,7 +22,7 @@ my %WriteMakefileArgs = (
"IPC::Open3" => 0,
"Test::More" => 0
},
- "VERSION" => "1.47",
+ "VERSION" => "1.48",
"test" => {
"TESTS" => "t/*.t"
}
@@ -31,7 +30,6 @@ my %WriteMakefileArgs = (
my %FallbackPrereqs = (
- "ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"IO::Handle" => 0,
"IPC::Open3" => 0,
diff --git a/README b/README
index 18440d7..ca859c2 100644
--- a/README
+++ b/README
@@ -1,10 +1,10 @@
DESCRIPTION
- This module is currently empty, becase the implementation is currently
- split into Perinci::CmdLine::Lite (for lightweight version) and
+ This module is currently empty, because the implementation is currently
+ split into Perinci::CmdLine::Lite (the lightweight version) and
Perinci::CmdLine::Classic (the full but heavier version). There's also
Perinci::CmdLine::Any that lets you choose between the two dynamically,
- a la Any::Moose. And finally there's also Perinci::CmdLine::Inline, the
+ à la Any::Moose. And finally there's also Perinci::CmdLine::Inline, the
even more lightweight version.
This module exists solely for convenience of linking purposes.
@@ -19,3 +19,12 @@ SEE ALSO
Perinci::CmdLine::Inline
+POD ERRORS
+
+ Hey! The above document had some coding errors, which are explained
+ below:
+
+ Around line 6:
+
+ Non-ASCII character seen before =encoding in 'à'. Assuming UTF-8
+
diff --git a/dist.ini b/dist.ini
index f363fc9..e000d2e 100644
--- a/dist.ini
+++ b/dist.ini
@@ -1,4 +1,4 @@
-version=1.47
+version=1.48
name=Perinci-CmdLine
diff --git a/lib/Perinci/CmdLine.pm b/lib/Perinci/CmdLine.pm
index 21dfbe5..ff5e86b 100644
--- a/lib/Perinci/CmdLine.pm
+++ b/lib/Perinci/CmdLine.pm
@@ -1,7 +1,7 @@
package Perinci::CmdLine;
-our $DATE = '2015-09-18'; # DATE
-our $VERSION = '1.47'; # VERSION
+our $DATE = '2015-10-22'; # DATE
+our $VERSION = '1.48'; # VERSION
sub new {
die "This module is currently empty, for now please use Perinci::CmdLine::{Lite,Classic,Any} instead. There is also Perinci::CmdLine::Inline.";
@@ -23,14 +23,14 @@ Perinci::CmdLine - Rinci/Riap-based command-line application framework
=head1 VERSION
-This document describes version 1.47 of Perinci::CmdLine (from Perl distribution Perinci-CmdLine), released on 2015-09-18.
+This document describes version 1.48 of Perinci::CmdLine (from Perl distribution Perinci-CmdLine), released on 2015-10-22.
=head1 DESCRIPTION
-This module is currently empty, becase the implementation is currently split
-into L<Perinci::CmdLine::Lite> (for lightweight version) and
+This module is currently empty, because the implementation is currently split
+into L<Perinci::CmdLine::Lite> (the lightweight version) and
L<Perinci::CmdLine::Classic> (the full but heavier version). There's also
-L<Perinci::CmdLine::Any> that lets you choose between the two dynamically, a la
+L<Perinci::CmdLine::Any> that lets you choose between the two dynamically, à la
Any::Moose. And finally there's also L<Perinci::CmdLine::Inline>, the even more
lightweight version.
diff --git a/lib/Perinci/CmdLine/Manual.pod b/lib/Perinci/CmdLine/Manual.pod
index cef90f4..4141931 100644
--- a/lib/Perinci/CmdLine/Manual.pod
+++ b/lib/Perinci/CmdLine/Manual.pod
@@ -18,7 +18,7 @@ Perinci::CmdLine::Manual - Perinci::CmdLine manual
=head1 VERSION
-This document describes version 1.47 of Perinci::CmdLine::Manual (from Perl distribution Perinci-CmdLine), released on 2015-09-18.
+This document describes version 1.48 of Perinci::CmdLine::Manual (from Perl distribution Perinci-CmdLine), released on 2015-10-22.
=head1 DESCRIPTION
@@ -206,7 +206,7 @@ using PERINCI_CMDLINE_COLOR_THEME=Default::no_color.
=head1 CONFIGURATION FILE
Configuration files are read to preset the value of arguments, before
-potentially overriden/merged with command-line options. Configuration files are
+potentially overridden/merged with command-line options. Configuration files are
in L<IOD> format, which is basically C<INI> with some extra features.
By default, configuration files are searched in C</etc> and home directory, with
diff --git a/lib/Perinci/CmdLine/Manual/Examples.pod b/lib/Perinci/CmdLine/Manual/Examples.pod
index db493b7..b7f573f 100644
--- a/lib/Perinci/CmdLine/Manual/Examples.pod
+++ b/lib/Perinci/CmdLine/Manual/Examples.pod
@@ -18,7 +18,7 @@ Perinci::CmdLine::Manual::Examples - Collection of examples
=head1 VERSION
-This document describes version 1.47 of Perinci::CmdLine::Manual::Examples (from Perl distribution Perinci-CmdLine), released on 2015-09-18.
+This document describes version 1.48 of Perinci::CmdLine::Manual::Examples (from Perl distribution Perinci-CmdLine), released on 2015-10-22.
=head1 DESCRIPTION
@@ -641,7 +641,7 @@ TODO
=head2 Basics
In the function-centric world of Perinci::CmdLine, configuration is just another
-way to supply values to function arguments (before being potentially overriden
+way to supply values to function arguments (before being potentially overridden
by command-line arguments). Configuration files are written in L<IOD> format,
which is basically "INI with extra features". By default, configuration files
are searched in C</etc> and then your home directory, with the name of
diff --git a/lib/Perinci/CmdLine/Manual/FAQ.pod b/lib/Perinci/CmdLine/Manual/FAQ.pod
index ab24f4f..cc16d52 100644
--- a/lib/Perinci/CmdLine/Manual/FAQ.pod
+++ b/lib/Perinci/CmdLine/Manual/FAQ.pod
@@ -18,7 +18,7 @@ Perinci::CmdLine::Manual::FAQ - FAQs
=head1 VERSION
-This document describes version 1.47 of Perinci::CmdLine::Manual::FAQ (from Perl distribution Perinci-CmdLine), released on 2015-09-18.
+This document describes version 1.48 of Perinci::CmdLine::Manual::FAQ (from Perl distribution Perinci-CmdLine), released on 2015-10-22.
=head1 NOMENCLATURE
@@ -61,9 +61,6 @@ for logging.
Implementation-wise, the two share a lot of common code in the form of their
base class, L<Perinci::CmdLine::Base>. The interface is also 99% the same.
-PC:Lite is the sane default choice, unless you need features that are currently
-not supported by PC:Lite, in which case you can consider using PC:Classic.
-
It is possible that in the future the two versions will merge.
B<Perinci::CmdLine::Inline.> There is another flavor called PC:Inline. The goal
@@ -72,14 +69,28 @@ core modules. (It is also possible to make PC:Classic- or PC:Lite-based CLI
script to also be freestanding by techniques like fatpacking or datapacking, but
the resulting packed script will be much larger.) It has the lowest number of
dependencies and the fastest startup overhead (around 0.01s). But currently it
-also has the least features. See L<Perinci::CmdLine::Inline> for more details of
-the features it currently supports. This flavor is suitable for simple CLI
-scripts that need to be as lean and fast as possible, for example: L<hr> (in
-L<App::hr>) or L<gen-uuids> (in L<App::UuidUtils>).
+also has the least features.
+
+It reduces startup overhead further by skipping the Riap layer and prefetching
+the Rinci metadata, precomputing the command-line options, and embedding all
+these in the scripts.
+
+See L<Perinci::CmdLine::Inline> for more details of the features it currently
+supports. This flavor is suitable for simple CLI scripts that need to be as lean
+and fast as possible, for example: L<hr> (in L<App::hr>) or L<gen-uuids> (in
+L<App::UuidUtils>).
All the flavors share the basic concept: running your L<Rinci>-described
functions on the command-line.
+So which one should you choose? PC:Lite is the sane default choice, unless you
+need features that are currently not supported by PC:Lite, in which case you can
+consider using PC:Classic. If you really need fast startup, you can opt for
+PC:Inline. But note that when the backend function's Rinci metadata changes, you
+will need to rebuild the script because the metadata is embedded in the script
+(while in PC:Lite and PC:Classic, the script simply request the Rinci metadata
+during runtime).
+
=head2 What Classic features are currently still missing in Lite?
=over
diff --git a/t/00-compile.t b/t/00-compile.t
index 2991f35..53fee49 100644
--- a/t/00-compile.t
+++ b/t/00-compile.t
@@ -2,7 +2,7 @@ use 5.006;
use strict;
use warnings;
-# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.053
+# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.054
use Test::More;
@@ -37,7 +37,7 @@ for my $lib (@module_files)
is($?, 0, "$lib loaded ok");
shift @_warnings if @_warnings and $_warnings[0] =~ /^Using .*\bblib/
- and not eval { blib->VERSION('1.01') };
+ and not eval { require blib; blib->VERSION('1.01') };
if (@_warnings)
{
diff --git a/t/release-pod-coverage.t b/t/author-pod-coverage.t
similarity index 68%
rename from t/release-pod-coverage.t
rename to t/author-pod-coverage.t
index 18a8274..094d8f5 100644
--- a/t/release-pod-coverage.t
+++ b/t/author-pod-coverage.t
@@ -1,9 +1,9 @@
#!perl
BEGIN {
- unless ($ENV{RELEASE_TESTING}) {
+ unless ($ENV{AUTHOR_TESTING}) {
require Test::More;
- Test::More::plan(skip_all => 'these tests are for release candidate testing');
+ Test::More::plan(skip_all => 'these tests are for testing by the author');
}
}
diff --git a/t/release-pod-syntax.t b/t/author-pod-syntax.t
similarity index 56%
rename from t/release-pod-syntax.t
rename to t/author-pod-syntax.t
index cdd6a6c..35fb1b9 100644
--- a/t/release-pod-syntax.t
+++ b/t/author-pod-syntax.t
@@ -1,13 +1,14 @@
#!perl
BEGIN {
- unless ($ENV{RELEASE_TESTING}) {
+ unless ($ENV{AUTHOR_TESTING}) {
require Test::More;
- Test::More::plan(skip_all => 'these tests are for release candidate testing');
+ Test::More::plan(skip_all => 'these tests are for testing by the author');
}
}
# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
+use strict; use warnings;
use Test::More;
use Test::Pod 1.41;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libperinci-cmdline-perl.git
More information about the Pkg-perl-cvs-commits
mailing list