"Williams, Ivor" wrote:
> 
> Hi,
> 
> I have a requirement for a persistent hash. This needs to be able to work on
> several platforms: VMS, Unix, NT.
> I don't have an existing relational database platform on the machines.
> 
> I know that AnyDBM_File and SDBM_File come as standard with the Perl
> distribution, but the documentation (pod) suggests that there are limits to
> the capacity and performance with SDBM_File.
> 
> I know gdbm is available free from gnu. Has anybody ever put this up on VMS?
> Any gotchas?
> 
> Are there any other portable 'dbm' implementations which include VMS?

1) Dan O'Reilly of Process Software is working on a port of MySQL to VMS.   

2) Dan's (the other one) suggestion of VMS::IndexedFile may work except that
   I've found that embedded "\n" in text fields tend to cause truncation. 

3) You may want to look at FreezeThaw, or Storable, available on CPAN.
   I don't know if they work on VMS.  For my static data, I use Data::Dumper
   to dump a hash into a text file, then load that text file into an RMS
   text library.  I've got an XS module (VMS::Librarian, on CPAN) that extracts
   a text module from a library based on key.  I would love for someone who
   actually knows C to pitch in on this module.

If portability is most important, I'd look to MySQL (works on Unix and NT)
and maybe give Dan (thge first one) a hand.

Reply via email to