NAME

Ledger::Journal - Represent Ledger journal

VERSION

This document describes version 0.06 of Ledger::Journal (from Perl distribution Ledger-Parser), released on 2017-06-16.

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.

HOMEPAGE

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

SOURCE

Source repository is at https://github.com/perlancar/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.

SEE ALSO

Ledger::Parser

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017, 2016, 2015, 2011 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.