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

NAME

Ledger::Journal - Represent Ledger journal

VERSION

This document describes version 0.05 of Ledger::Journal (from Perl distribution Ledger-Parser), released on 2016-01-12.

SYNOPSIS

Obtain a journal object $journal from parsing a Ledger file/string using Ledger::Parser's read_file or read_string method. Or, to produce an empty journal:

 $journal = Ledger::Journal->new;

Empty journal:

 $journal->empty;

Dump journal into Ledger string:

 print $journal->as_string;

 # or just:
 print $journal;

ATTRIBUTES

METHODS

new(%attrs) => obj

$journal->as_string => str

Return journal object rendered as string. Automatically used for stringification.

$journal->empty()

Empty journal.

SEE ALSO

Ledger::Parser

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Ledger-Parser.

SOURCE

Source repository is at https://github.com/sharyanto/perl-Ledger-Parser.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Ledger-Parser

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by perlancar@cpan.org.

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