BSD Ports

devel/p5-AnyData 0.12 DragonFly

Easy access to data in many formats

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
76.2 KiB, 223.7 KiB installed

Description

The rather wacky idea behind this module and its sister module DBD::AnyData is that any data, regardless of source or format should be accessible and modifiable with the same simple set of methods. This module provides a multi- dimensional tied hash interface to data in a dozen different formats. The DBD::AnyData module adds a DBI/SQL interface for those same formats.

Both modules provide built-in protections including appropriate flocking() for all I/O and (in most cases) record-at-a-time access to files rather than slurping of entire files.

Currently supported formats include general format flat files (CSV, Fixed Length, etc.), specific formats (passwd files, httpd logs, etc.), and a variety of other kinds of formats (XML, Mp3, HTML tables). The number of supported formats will continue to grow rapidly since there is an open API making it easy for any author to create additional format parsers which can be plugged in to AnyData itself and thereby be accessible by either the tiedhash or DBI/SQL interface.

In the other systems

SystemPortVersion
DragonFlydevel/p5-AnyData0.12
FreeBSDdevel/p5-AnyData0.12
HardenedBSDdevel/p5-AnyData0.12
GhostBSDdevel/p5-AnyData0.12

Install

Binary package:

pkg install p5-AnyData

From DPorts:

cd /usr/dports/devel/p5-AnyData && make install clean

Dependencies

Run dependencies 2
Required by 1