FileMaker, which the AppleWorks DB is loosely based on lets you acces it via ODBC, so if you have/can get a copy, you might want to look into that. Otherwise, as far as AppleWorks goes, I haven't ever seen a DBD for the native format, but you can save your database as 'ascii text.' If you do so it will be a tab-delimited file. You could swap the tabs to commas (tr them in the script or find and replace in AppleWorks) and use DBD::CSV. Keep in mind that it will use Mac linebreaks (\r) rather than Unix (\n), so you might need to convert those too. Overall, it might just be easier to make your own CSV file, if you want to go that route.
in reply to DBI and Appleworks?