Syntactic Confectionery Delight | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Plankton, although I don't have experience with SDBM_file
after inspecting your code ( and POD ) I'll make a suggestion: The SDBM_file works by having a key and a value stored in a hash - and on file. In insert() you are basically overwriting the keys REQ,INQFILE etc. with keys that have the same names but diff values. I suggest that you do this: $h{uniqval} = $req. That way your whole reference is the value and you will have some key which represents it. The main thing is that your reference should only be the value
Now, the unique hash key concept is completely overkill
In reply to Re: use SDBM_File like a database
by bl0rf
|
|