Tie::JournaledFile Class

This class appends data into a file. Tie::JournaledFile class provides this function.

This class is append only. It is similar to LFS (Log Structured File System).

Operation to extract a value is to get the latest (last appended) value. That is, the last match.

In other words, data cache logs all data to enable back track.

We cannot restrict the maximum size of this cache. This class holds data within some period without size limitation. We control cache expiration by time.

To get the following structure as a result, you can use get_all_values_as_hash_ref() method.

key => [
	log1	(line A of file 1),
	log2	(line B of file 2),
	log2	(line C of file 3),
]

Warning

Search algorithm is either of first match or last match. The last match by default since the last appended data is latest.

fml 8.0 (fml-devel) project homepage is www.fml.org/software/fml8/.
fml 4.0 project homepage is www.fml.org/software/fml4/.
about one floppy bsd routers, see www.bsdrouter.org/.
other free softwares are found at www.fml.org/software/.

author's homepage is www.fml.org/home/fukachan/.
Also, visit nuinui's world :) at www.nuinui.net.

For questions about FML, e-mail <fml-bugs@fml.org>.