heezy has asked for the wisdom of the Perl Monks concerning the following question:
Hello monks
Is there a simple way of merging four dbm files into 1 dbm?
I have the dbm files...
is_New_Eng ps_New_Eng ses_New_Eng ss_New-Eng
And I just want to merge the contents of these into another dbm called all_New_Eng?
Is there a quick way to do this (some magic module?) or should I open them all, read through each hash bit by bit, copying the data into the new file as I go?
Ideas?
Thanks
M
Please don't give me a hard time about using dbms instead of tie. I'm very happy using dbms for this small application :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Merging DBM files?
by perrin (Chancellor) on Oct 15, 2002 at 20:35 UTC | |
|
Re: Merging DBM files?
by tomhukins (Curate) on Oct 16, 2002 at 10:36 UTC | |
|
Re: Merging DBM files?
by nothingmuch (Priest) on Oct 15, 2002 at 20:30 UTC |