Main > Programming > Libraries >

AnyData 0.10

AnyData 0.10

Sponsored Links

AnyData 0.10 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.043 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 908
Date added: 2007-05-10
Publisher: Jeff Zucker

AnyData 0.10 description

AnyData is a Perl module that allows easy access to data in many formats.

SYNOPSIS

$table = adTie( CSV,my_db.csv,o, # create a table
{col_names=>name,country,sex}
);
$table->{Sue} = {country=>de,sex=>f}; # insert a row
delete $table->{Tom}; # delete a single row
$str = $table->{Sue}->{country}; # select a single value
while ( my $row = each %$table ) { # loop through table
print $row->{name} if $row->{sex} eq f;
}
$rows = $table->{{age=>> 25}} # select multiple rows
delete $table->{{country=>qr/us|mx|ca/}}; # delete multiple rows
$table->{{country=>Nz}}={country=>nz}; # update multiple rows
my $num = adRows( $table, age=>< 25 ); # count matching rows
my @names = adNames( $table ); # get column names
my @cars = adColumn( $table, cars ); # group a column
my @formats = adFormats(); # list available parsers
adExport( $table, $format, $file, $flags ); # save in specified format
print adExport( $table, $format, $flags ); # print to screen in format
print adDump($table); # dump table to screen
undef $table; # close the table

adConvert( $format1, $file1, $format2, $file2 ); # convert btwn formats
print adConvert( $format1, $file1, $format2 ); # convert to screen

The rather wacky idea behind this module and its sister module DBD::AnyData is that any data, regardless of source or format should be accessable 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 flatfiles (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.

The AnyData.pm module itself is pure Perl and does not depend on anything other than modules that come standard with Perl. Some formats and some advanced features require additional modules: to use the remote ftp/http features, you must have the LWP bundle installed; to use the XML format, you must have XML::Parser and XML::Twig installed; to use the HTMLtable format for reading, you must have HTML::Parser and HTML::TableExtract installed but you can use the HTMLtable for writing with just the standard CGI module. To use DBI/SQL commands, you must have DBI, DBD::AnyData, SQL::Statement and DBD::File installed.

AnyData 0.10 Screenshot

Advertisements

AnyData 0.10 Keywords

Bookmark AnyData 0.10

Hyperlink code:
Link for forum:

AnyData 0.10 Copyright

WareSeeker periodically updates pricing and software information of AnyData 0.10 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of AnyData 0.10 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
DBD::AnyData is a DBI access to XML, CSV and other formats. Free Download
migratedata project allows you to write a simple XML file to define how to copy data from one database to another. Free Download
AnyData::Format::XML is a Perl module for tiedhash and DBI access to XML. Free Download
AnyData::Format::Mp3 is a tied hash and DBI access to Mp3 files. Free Download
Hydrate is a tool that provides fast, efficient, and error-free transformation of data. Free Download
DBD::Amazon is a DBI driver abstraction for the Amazon E-Commerce Services API. Free Download
DBD::Teradata is Perl module with a DBI driver for Teradata. Free Download
OpenDaemon (Formerly OpenXMLD) started as an open-source native XML database server. Free Download