App-CalcAccumulatedInflation
view release on metacpan or search on metacpan
"Test::Pod::Coverage" : "1.08",
"Test::Rinci" : "0.151"
},
"x_spec" : {
"Rinci" : "v1.1.96"
}
},
"runtime" : {
"requires" : {
"Data::Sah::Coerce::perl::To_array::From_str::comma_sep" : "0",
"Data::Sah::Coerce::perl::To_float::From_str::percent" : "0",
"Data::Sah::Compiler::perl::TH::array" : "0.907",
"Data::Sah::Compiler::perl::TH::float" : "0.907",
"Data::Sah::Compiler::perl::TH::int" : "0.907",
"Perinci::CmdLine::Any" : "0.152",
"Perinci::CmdLine::Lite" : "1.905",
"perl" : "5.010001",
"strict" : "0",
"warnings" : "0"
}
},
ExtUtils::MakeMaker: '0'
dynamic_config: 0
generated_by: 'Dist::Zilla version 6.014, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: '1.4'
name: App-CalcAccumulatedInflation
requires:
Data::Sah::Coerce::perl::To_array::From_str::comma_sep: '0'
Data::Sah::Coerce::perl::To_float::From_str::percent: '0'
Data::Sah::Compiler::perl::TH::array: '0.907'
Data::Sah::Compiler::perl::TH::float: '0.907'
Data::Sah::Compiler::perl::TH::int: '0.907'
Perinci::CmdLine::Any: '0.152'
Perinci::CmdLine::Lite: '1.905'
perl: '5.010001'
strict: '0'
warnings: '0'
resources:
bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=App-CalcAccumulatedInflation
Makefile.PL view on Meta::CPAN
},
"DISTNAME" => "App-CalcAccumulatedInflation",
"EXE_FILES" => [
"script/calc-accumulated-inflation"
],
"LICENSE" => "perl",
"MIN_PERL_VERSION" => "5.010001",
"NAME" => "App::CalcAccumulatedInflation",
"PREREQ_PM" => {
"Data::Sah::Coerce::perl::To_array::From_str::comma_sep" => 0,
"Data::Sah::Coerce::perl::To_float::From_str::percent" => 0,
"Data::Sah::Compiler::perl::TH::array" => "0.907",
"Data::Sah::Compiler::perl::TH::float" => "0.907",
"Data::Sah::Compiler::perl::TH::int" => "0.907",
"Perinci::CmdLine::Any" => "0.152",
"Perinci::CmdLine::Lite" => "1.905",
"strict" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"File::Spec" => 0,
Makefile.PL view on Meta::CPAN
},
"VERSION" => "0.052",
"test" => {
"TESTS" => "t/*.t"
}
);
my %FallbackPrereqs = (
"Data::Sah::Coerce::perl::To_array::From_str::comma_sep" => 0,
"Data::Sah::Coerce::perl::To_float::From_str::percent" => 0,
"Data::Sah::Compiler::perl::TH::array" => "0.907",
"Data::Sah::Compiler::perl::TH::float" => "0.907",
"Data::Sah::Compiler::perl::TH::int" => "0.907",
"File::Spec" => 0,
"IO::Handle" => 0,
"IPC::Open3" => 0,
"Perinci::CmdLine::Any" => "0.152",
"Perinci::CmdLine::Lite" => "1.905",
"Test::More" => 0,
"strict" => 0,
This function is not exported.
Arguments ('*' denotes required arguments):
* base_index => *float* (default: 1)
* base_year => *float* (default: 0)
* rates => *array[float]*
Different rates for each year, in percent.
* yearly_rate => *float*
A single rate for every year, in percent.
* years => *int* (default: 10)
Return value: (any)
HOMEPAGE
Please visit the project's homepage at
<https://metacpan.org/release/App-CalcAccumulatedInflation>.
SOURCE
lib/App/CalcAccumulatedInflation.pm view on Meta::CPAN
specify each year's rates (`rates`). You can also optionally set base index
(default to 1) and base year (default to 0).
_
args => {
years => {
schema => ['int*', min=>0],
default => 10,
},
rates => {
summary => 'Different rates for each year, in percent',
schema => ['array*', of=>'float*', min_len=>1, 'x.perl.coerce_rules'=>['From_str::comma_sep']],
},
yearly_rate => {
summary => 'A single rate for every year, in percent',
schema => 'float*',
cmdline_aliases => {y=>{}},
},
base_index => {
schema => 'float*',
default => 1,
},
base_year => {
schema => 'float*',
default => 0,
lib/App/CalcAccumulatedInflation.pm view on Meta::CPAN
Arguments ('*' denotes required arguments):
=over 4
=item * B<base_index> => I<float> (default: 1)
=item * B<base_year> => I<float> (default: 0)
=item * B<rates> => I<array[float]>
Different rates for each year, in percent.
=item * B<yearly_rate> => I<float>
A single rate for every year, in percent.
=item * B<years> => I<int> (default: 10)
=back
Return value: (any)
=head1 HOMEPAGE
script/calc-accumulated-inflation view on Meta::CPAN
1
=item B<--base-year>=I<s>
Default value:
0
=item B<--rates-json>=I<s>
Different rates for each year, in percent (JSON-encoded).
See C<--rates>.
=item B<--rates>=I<s@>
Different rates for each year, in percent.
Can be specified multiple times.
=item B<--yearly-rate>=I<s>, B<-y>
A single rate for every year, in percent.
=item B<--years>=I<s>
Default value:
10
=back
=head2 Configuration options
( run in 0.479 second using v1.01-cache-2.11-cpan-709fd43a63f )