BOLCATO CHRIS (esm1cmb) wrote: > Hello all, > I am fairly new to using Perl and have some questions regarding DBM > Files.
The answer to a lot of these questions will be "it depends". It depends on what you're trying to do. > One, which type is recommended DB_File, GDBM, SDBM, NDBM etc.? In general, I prefer DB_File, since it has fewest limits. But you need to install Berkely DB from sleepycat.com. SDBM is limited, but doesn't require any 3rd party stuff. see perldoc AnyDBM_File for a comparison of the various flavors. > Is it common practice to make use of DBM files? Yes, depending again on the application. > Or should I look into > some other database structure? Can't say without knowing what you want to do. > Is it a significant performance enhancement over just using delimited > flat files? Depends on how you're accessing the data. > Any help or kick in the right direction would be much appreciated. DBM files, particularly combined with tied hashes and modules like MLDBM and Storable are an excellent solution to many problems, IMO. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>