Steven Haryanto > Ledger-Parser-0.03 > Ledger::Journal

Download:
Ledger-Parser-0.03.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  1
View/Report Bugs
Module Version: 0.03   Source  

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.

syntax highlighting: