EXTERNAL DATA SOURCES
Gathering information from external data sources, including files, databases, and even remote connections, is a common part of any program. Communicating with these external sources is not always straightforward. Working with simple text files is easy with any language, by accessing data stored in a binary format requires more work. With Perl we have a number of choices. Built-in we have the ability to open the popular Unix DBM files, or better still we can use one of the *DBM modules to tie a hash to a particular database. To communicate with any database system the obvious and time honored solution is the excellent DBI module written by Tim Bunce.
In Python we have access to most of the DBM formats using modules supplied ...
Get Perl To Python Migration now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.