perl-Data-Math-0.01-alt1.noarch.rpm


Advertisement

Description

perl-Data-Math - arithmetic operations on complex data structures

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Data-Math-0.01-alt1.noarch.rpm
Package name perl-Data-Math
Package version 0.01
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 36.04 KB
Installed size 36.04 KB
Data::Math is for doing arithmetic operations on roughly
parallel data structures.
It's pretty clear what a line like this would be meant to do,
though Perl does nothing useful with it:
%net = %gross - %costs;
Instead, Data::Math's calc method can be used:
my $net = $dm->calc( '-', \%gross, \%costs );
The code here is customizeable in many ways, but has
defaults that should make it easy to use in simple
cases.  The arithmetic operator is applied to numbers,
strings are just passed through if both sides are the same,
or concatenated (with '|' separator) if they differ.
If there's a numeric field you don't want to do numeric
operations on (e.g. 'tax_rate') you can define a pattern
in the object's skip_key_patterns array to skip it.

Alternatives

Package Version Architecture Repository
perl-Data-Math - - -

Requires

Name Value
/usr/share/perl5 -
perl(Data/Dumper.pm) -
perl(List/MoreUtils.pm) -
perl(List/Util.pm) -
perl(Moo.pm) -
perl(MooX/Types/MooseLike/Base.pm) -
perl(Scalar/Classify.pm) -
perl(Scalar/Util.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Data/Math.pm) = 0.010
perl-Data-Math = 0.01-alt1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Data-Math-0.01-alt1.noarch.rpm
Source Package perl-Data-Math-0.01-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Data-Math rpm package:
    # sudo apt-get install perl-Data-Math

Files

Path
/usr/share/doc/perl-Data-Math-0.01/Changes
/usr/share/doc/perl-Data-Math-0.01/LICENSE
/usr/share/doc/perl-Data-Math-0.01/README
/usr/share/perl5/Data/Math.pm

See Also

Package Description
perl-Data-Message-1.104-alt1.noarch.rpm parse and build header-and-body messages (kinda like email)
perl-Data-MethodProxy-0.04-alt1.noarch.rpm Inject dynamic data into static data
perl-Data-Microformat-0.04-alt1.noarch.rpm A base class for hCards and related modules
perl-Data-Mining-Apriori-0.18-alt1.noarch.rpm Perl extension for implement the data mining algorithm apriori
perl-Data-Mining-AssociationRules-0.10-alt1.noarch.rpm perl module Data-Mining-AssociationRules
perl-Data-Miscellany-1.100850-alt2_8.noarch.rpm Collection of miscellaneous subroutines
perl-Data-ModeMerge-0.35-alt1.noarch.rpm Merge two nested data structures, with merging modes and options
perl-Data-Model-0.00008-alt1.noarch.rpm model interface which had more data sources unified, a.k.a data/object mapper
perl-Data-Monad-0.09-alt1.noarch.rpm An implementation of monads for Perl
perl-Data-Monad-CondVar-0.06-alt1.noarch.rpm The CondVar monad
perl-Data-Monad-Control-0.01-alt1.noarch.rpm Exception handling with Monad
perl-Data-Money-0.17-alt1.noarch.rpm Money/currency with formatting and overloading
perl-Data-Money-Converter-0.07-alt1.noarch.rpm Moose Role for Data::Money Converters
perl-Data-Money-Converter-WebserviceX-0.07-alt1.noarch.rpm WebserviceX currency conversion implementation
perl-Data-MoneyCurrency-0.08-alt1.noarch.rpm The great new Data::MoneyCurrency!
Advertisement
Advertisement