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

NAME

Ledger::Journal - Represent an Org document

VERSION

version 0.03

SYNOPSIS

DESCRIPTION

ATTRIBUTES

raw_lines => ARRAY

Store the raw source lines.

entries => ARRAY

Transactions, pricing, and top-level entities.

METHODS

new(raw_lines => [...])

Create object from string.

$journal->transactions([$criteria]) => \@tx

Return transaction objects. $criteria is optional, a coderef that can be used to filter wanted transactions.

$journal->accounts() => \@acc

Return all accounts that are mentioned.

$journal->add_transaction($tx)

SEE ALSO

Ledger::Transaction

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.