Various Tools for interacting with Beancount commands and files in the Perl language
				
			
		|  d3395dba78 Part of the SELECT statement that was entered gets repeated in the output. It's some sort of timing issue with IPC::Run or the IO::Pty because it's often not the entire input but only part of it. It does however appear that there is usually a blank line right before output, and in text mode, we can also search for the line of -'s as a backup to assure we get the proper output and don't send the garbled input back as the output across the named pipe. This is a bit of a hacky solution and likely error-prone. | ||
|---|---|---|
| AGPL-3.0.txt | ||
| bean-query-daemon-lib.pl | ||
| bean-query-goofy-daemon.plx | ||
| COPYRIGHT | ||
| LICENSE | ||
| README.md | ||
Beancount Tools Written in Perl
These are various tools written in Perl to interact with Beancount project.
bean-query-goofy-daemon.plx
This daemon uses Perl's IPC::Shareable library to take queries as a daemon for Beancount's bean-query.  Note that this daemon is not particularly secure, as it has the same security flaws inherent in IPC::Shareable and use of named pipes (as it uses mkfifo from Perl's POSIX library underneath.
bean-query-daemon-lib.pl
This file defines three functions to use in client scripts that want to talk to bean-query-goofy-daemon.plx.
It's not an actual Perl library; just use require in Perl to load it.
[comment]: Local variables: [comment]: mode: markdown [comment]: eval: (visual-line-mode t) [comment]: eval: (auto-fill-mode -1) [comment]: End: