./finance/p5-Data-Currency, Container class for currency conversion/formatting

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.04002nb1, Package name: p5-Data-Currency-0.04002nb1, Maintainer: pkgsrc-users

The Data::Currency module provides basic currency formatting and
conversion:

my $price = 1.23;
my $currency = Data::Currency->new($price);

print $currency->convert('CAD')->as_string;

Each Data::Currency object will stringify to the original value
except in string context, where it stringifies to the format
specified in format.


Required to run:
[misc/p5-Locale-Codes] [lang/perl5] [devel/p5-Scalar-List-Utils] [devel/p5-Class-Inspector] [finance/p5-Finance-Currency-Convert-WebserviceX] [finance/p5-Locale-Currency-Format] [devel/p5-Class-Accessor-Grouped]

Master sites: (Expand)

SHA1: e41ad3a8f2a9242c8ed2960ae6d7931c8f8e8409
RMD160: 770c0462108338124c27e16e3cc35eca7f3501e3
Filesize: 23.167 KB

Version history: (Expand)


CVS history: (Expand)


   2009-04-24 19:15:24 by Jens Rehsack | Files touched by this commit (24)
Log message:
Modify dependencies to perl-modules which are deployed with the perl-core,
mainly Scalar::Util and List::Util
   2008-10-19 21:19:25 by Havard Eidnes | Files touched by this commit (1179)
Log message:
Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
   2008-06-23 03:51:57 by David Brownlee | Files touched by this commit (3) | Imported package
Log message:
Import p5-Data-Currency-0.04002

The Data::Currency module provides basic currency formatting and
conversion:

    my $price = 1.23;
    my $currency = Data::Currency->new($price);

    print $currency->convert('CAD')->as_string;

Each Data::Currency object will stringify to the original value
except in string context, where it stringifies to the format
specified in format.