in reply to Re: Perl DBM
in thread Perl DBM

Fitting arbitrary complex data into a relational data may be hard. Very hard. Using MLDBM or similar (DBM::Deep looks interesting) is much easier. To the original questioner: are you using DB_File or GDBM_File as the database backend? The default SDBM_File has many drawbacks (limited record size, missing EXISTS is implemented only since 5.6.1).

Replies are listed 'Best First'.
Re: Re: Re: Perl DBM
by MatthewFrancis (Acolyte) on Apr 13, 2004 at 16:27 UTC
    Thanks for the reply,

    I'm using things as follows:
    use SDBM_File; use MLDBM qw ( SDBM_File );
    Again, I'm a total newbie to DBM issues, so if there are better ways to to this I'd be grateful for some pointers.
    Thanks!!
    MatthewFrancis
      Change this to
      use MLDBM qw(DB_File Storable);
      DB_File is far superior over SDBM_File, and Storable is faster than the default Data::Dumper.