Subject: ANNOUNCE: Xbase/DBF record manager
From: "Adam C. Graham" <[email-masked]>
Date: 9 Mar 1998 18:53:04 GMT
Newsgroups: comp.lang.perl.announce,comp.lang.perl.modules

http://www.erinbay.com/public_source/dbf.pm
http://www.erinbay.com/public_source/sqldbf.pm

Package to Read/Write DBASE III+ DBF Files.  Uses the 'DB_File' module
for indexes.  There is also a simple SQL SELECT interface (sqldbf.pm).

Bug reports, comments welcome.

ACG

Example Usage:

# Simple SELECT
# =============

# $sql = new sqldbf;
#
# $sqlstr = "SELECT * FROM sales WHERE amt>10 AND amt<100 ORDER_BY amt";

# $str = $sql->command($sqlstr);
#
# $dbf=$sql->{'table_sales'};  # Get the table object for sales
#
# %rec = $sql->get_row;
# while ( keys %rec )
# {
#    print "\nRecord #", $dbf->{'recno'}, "\n";
#    foreach $i(keys %rec)
#    {
#        print "$i: $rec{$i}\n";  # print <field name>: <field value>
#    }
#
#     %rec = $sql->get_row;
# }
# $sql->close;