App-CalcAccumulatedDiscounts

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Test::Pod" : "1.41",
            "Test::Pod::Coverage" : "1.08",
            "Test::Rinci" : "0.151"
         },
         "x_spec" : {
            "Rinci" : "v1.1.96"
         }
      },
      "runtime" : {
         "requires" : {
            "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"
         }
      },

META.yml  view on Meta::CPAN

configure_requires:
  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-CalcAccumulatedDiscounts
requires:
  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-CalcAccumulatedDiscounts

Makefile.PL  view on Meta::CPAN

    "ExtUtils::MakeMaker" => 0
  },
  "DISTNAME" => "App-CalcAccumulatedDiscounts",
  "EXE_FILES" => [
    "script/calc-accumulated-discounts"
  ],
  "LICENSE" => "perl",
  "MIN_PERL_VERSION" => "5.010001",
  "NAME" => "App::CalcAccumulatedDiscounts",
  "PREREQ_PM" => {
    "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

    "Test::More" => 0
  },
  "VERSION" => "0.080",
  "test" => {
    "TESTS" => "t/*.t"
  }
);


my %FallbackPrereqs = (
  "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,

lib/App/CalcAccumulatedDiscounts.pm  view on Meta::CPAN

(e.g. 1% or lower). Otherwise, the annual management fees will eat up most, if
not all, your potential profits.

_
    args => {
        years => {
            schema => ['array*', of=>'int*'],
            default => [5,10,15,20,25,30,35,40,45,50],
        },
        discounts => {
            schema => ['array*', of=>'float*'], # XXX percent
            default => [0.25, 0.5, 0.75, 1,
                        1.25, 1.5, 1.75, 2,
                        2.25, 2.5, 2.75, 3,
                        3.25, 3.5, 3.75, 4,
                        4.5, 5],
        },
    },
    examples => [
        {
            args => {},



( run in 0.412 second using v1.01-cache-2.11-cpan-05162d3a2b1 )