Standard Modules
In general, the standard modules (modules bundled with Perl) work on all
platforms. Notable exceptions are the CPAN.pm module (which currently makes connections to external
programs that may not be available), platform-specific modules (such
as ExtUtils::MM_VMS), and DBM modules.
There is no single DBM module available on all platforms.
SDBM_File and the others are generally available on all Unix and
DOSish ports.
The good news is that at least one DBM module should be
available, and AnyDBM_File will use whichever module it can find. With such
uncertainty, you should use only the features common to all DBM
implementations. For instance, keep your records to no more than 1K
bytes. See the AnyDBM_File module
documentation for more details.
A bit fancier than DBMs is SQLite, which comes with the DBD::SQLite driver for DBI. It’s a minimal and embeddable relational database
that’s in the public domain (so you can distribute it with your code).
It runs on the common operating systems.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access