in reply to XBase Indexes
AFAIK, the perl XBase modules support reading of index files, but not writing (but if someone knows differently, speak up, I am not an XBase maven). There are ODBC drivers for some XBase dbms's (FoxPro IIRC) so you could possibly automate creation of index files with FoxPro + perl + DBI + DBD::ODBC.