Hi,
You seem to be overwriting the entries in your dbm, no? Only the last values entered in the form are saved. Won't you better first read your dbm from disk in your hash and then add the new entries from the form? That way you'll preserver your old entries.
Also, keys( %BOOK ) won't give you a number but will show you 'name','email','comments', and 'posttime', not a number. Is that what you want? (I goofed up!)
In reply to Re: perl dbm problem
by gargle
in thread perl dbm problem
by matthx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |