perlancar > Ledger-Parser-0.04 > Ledger::Journal

Download:
Ledger-Parser-0.04.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.04   Source  

NAME ^

Ledger::Journal - Represent Ledger journal

VERSION ^

This document describes version 0.04 of Ledger::Journal (from Perl distribution Ledger-Parser), released on 2015-03-26.

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/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.

AUTHOR ^

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE ^

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

syntax highlighting: