Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to access .DBF files from perl on UNIX

Status
Not open for further replies.

RajD

Technical User
Aug 23, 2001
53
US
If someone can guide me, probably with a simple example to access data in .dbf (dbase / foxpro) file from perl on UNIX

My perl environment with perl -V is as follows

=======================
Characteristics of this binary (from libperl):
Built under hpux
Compiled at Mar 13 2000 15:44:37
@INC:
/usr/local/apps/perl5/lib/5.00503/PA-RISC2.0
/usr/local/apps/perl5/lib/5.00503
/usr/local/apps/perl5/lib/site_perl/5.005/PA-RISC2.0
/usr/local/apps/perl5/lib/site_perl/5.005
.
=======================

I'll be more than happy to provide more information if required to get this done.

thanks,

RK

RajD
 
Use the XBase DBI module available from CPAN. Allows read, add, edit, and delete operations using standard SQL statements. It doesn't allow the use of aggregate statements. Other than that, it works great. I have several clients who use DBF formatted files on the internet and are accessed using CGI scripts.

There's always a better way. The fun is trying to find it!
 
Are these modules for UNIX?
How does my unix perl script talk to the ODBC or XBase drivers.
Do I need to install it on the UNIX folder.

Please help

RajD
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top