The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Ledger::Pricing - Represent a Ledger pricing line

VERSION

version 0.03

SYNOPSIS

DESCRIPTION

A pricing in a ledger journal is of the form:

 P DATE cmdity1 N cmdity2

It asserts that commodity cmdity2 has a price of N cmdity2. Example:

 P 2011/10/17 USD 8500 IDR ; 1 US$ = 8500 Rp

ATTRIBUTES

date => DATETIME OBJ

cmdity1 => STR

n => NUM

cmdity2 => STR

comment => STR

lineref => REF TO STR

journal => OBJ

Pointer to Ledger::Journal object.

METHODS

new(...)

$tx->as_string()

AUTHOR

Steven Haryanto <stevenharyanto@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Steven Haryanto.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.