Newsgroup: it.comp.lang.perl
Titolo: DB in perl

Devo fare degli scripts in PERL non direttamente collegate a pagine web
(sono dei batch che girano ad orari schedulati su un server unix) che
utilizzino un Database (possibilmente con flat file).
Chi mi consiglia cosa usare?
Grazie e ciao

 wrote:
: Devo fare degli scripts in PERL non direttamente collegate a pagine web
: (sono dei batch che girano ad orari schedulati su un server unix) che
: utilizzino un Database (possibilmente con flat file).
: Chi mi consiglia cosa usare?
Probabilmente cio` che si avvicina di piu` alle tue esegenze sono i
moduli AsciiDB::*, ma se il tuo DB e` poco piu` che banale o se ci
sono probabilita` che possa crescere ti consiglio caldamente di
installare un vero DBMS e di usare DBI e DBD (se non hai grosse
pretese, come mi sembra, possono andare bene Postgres, Mysql o Msql).
Dall'elenco dei moduli Perl:
7) Database Interfaces (see also Data Types)
Name           DSLI  Description                                  Info
-----------    ----  -------------------------------------------- -----
DBI            amcO  Generic Database Interface (see DBD modules) DBIML
DBD::
::DB2          adcO  DB2 Driver for DBI                           MHM
::Fulcrum      cdcO  Fulcrum SearchServer Driver for DB           SHARI
::Informix     amcO  Informix Driver for DBI                      JOHNL
::Informix4    amcO  DBI driver for Informix SE 4.10              GTHYNI
::Ingres       amcO  Ingres Driver for DBI                        HTOUG
::Oracle       amcO  Oracle Driver for DBI                        TIMB
::QBase        amcO  QBase Driver for DBI                         BENLI
::Solid        amcO  Solid Driver for DBI                         TWENRICH
::Sybase       amcO  Sybase Driver for DBI                        MEWP  !
::XBase        cmcO  Complete XBase support: read, write, index   JANPAZ
::mSQL         RmcO  Msql Driver for DBI                          JWIED
::mysql        RmcO  Mysql Driver for DBI                         JWIED
::pNET         amcO  DBD proxy driver                             JWIED
Oraperl        Rmpf  Oraperl emulation interface for DBD::Oracle  DBIML
Ingperl        ampf  Ingperl emulation interface for DBD::Ingres  HTOUG
Sybase::
::BCP          RdcO  Sybase BCP interface                         MEWP  +
::DBlib        RdcO  Sybase DBlibrary interface                   MEWP
::Sybperl      Rdpf  sybperl 1.0xx compatibility module           MEWP
::CTlib        RdcO  Sybase CTlibrary interface                   MEWP  !
Datascope      Rdcf  Interface to Datascope RDBMS                 DANMQ
LotusNotes     i     Interface to Lotus Notes C/C++ API           JONO
Msql           RmcO  Mini-SQL database interface                  JWIED !
Mysql          RmcO  mysql database interface                     JWIED +
ObjStore       Rm+O  ObjectStore OODBMS Interface                 JPRIT !
Pg             Rdcf  PostgreSQL SQL database interface            MERGL
Postgres       Rdcr  PostgreSQL interface with Perl5 coding style VKHERA
Sprite         RdpO  Limited SQL interface to flat file databases SHGUN
Xbase          bdpf  Read Xbase files with simple IDX indexes     PRATP
XBase          bdpO  Complete XBase support: read, write, index   JANPAZ
Tied Hash File Interfaces:
AnyDBM_File    Sup   Uses first available *_File module above     P5P
CDB_File       adc   Tie to CDB (Bernstein's constant DB) files   TIMPX
DBZ_File       adc   Tie to dbz files (mainly for news history)   IANPX
DB_File        Suc   Tie to DB files                              PMQS
GDBM_File      Suc   Tie to GDBM files                            P5P
MLDBM          RdpO  Transparently store multi-level data in DBM  GSAR  !
NDBM_File      Suc   Tie to NDBM files                            P5P
ODBM_File      Suc   Tie to ODBM files                            P5P
SDBM_File      Suc   Tie to SDBM files                            P5P
AsciiDB::
::Parse        i     Generic text database parsing                MICB
::TagFile      adpO  Tie class for a simple ASCII database        JOSERODR
Db::
::Ctree        adcr  Faircom's CTREE+ database interface          REDEN +
::Documentum   bdcf  Documentum EDMS Perl client interface        BRIANSP +
DTREE          cdcf  Interface to Faircom DTREE multikey ISAM db  JWAT
Fame           adcO  Interface to FAME database and language      TRIAS
MARC           i     Interface to MARC format (bibliography)      PEM
NetCDF         bmcr  Interface to netCDF API for scientific data  SEMM
Stanza         i     Text format database used by OSF and IBM     JHI
OLE::
::PropertySet  aupO  Property Set interface                       MSCHWARTZ
::Storage      aupO  Structured Storage / OLE document interface  MSCHWARTZ
-- 
Nando Santagata: Telemastica & infornatica
Key fingerprint = C2 D9 C0 8E D5 B7 04 97  AF E8 3F 3E AF 4E 7F 9E