Dear monks,
Assume I have a DB_File tied hash created in memory, with something in the lines of:
my $db = tie my %h, "DB_File", undef, O_RDWR|O_CREAT
After populating it with some key/value pairs (potentially many), given some conditions I would like to create a proper db_file on disk with this data, but I would like to do it directly, without having to go through
each %$h or something like that, to avoid performance penalties. I've been searching in the DB_File and dbopen documentations, but haven't found anyway to do it.
Any ideas?
Regards,
D.