Hi,
I have the following problem. I want to store text in a hash which is of course no problem as long as the key and/or value is not to big to fit into the hash.
When a value is to large to fit in the hash I get the following error:
dbm store returned -1, errno 28 etc.
I want to catch this error and act accordingly. Whatever I try the error keeps popping up on screen and I am not able to do anaything about it. (I can not test if the error occured).
How can I catch the error. (I do not want to test the length of the string before I'm storing it)
I hope somebody can help me.
Thanks.
I have the following problem. I want to store text in a hash which is of course no problem as long as the key and/or value is not to big to fit into the hash.
When a value is to large to fit in the hash I get the following error:
dbm store returned -1, errno 28 etc.
I want to catch this error and act accordingly. Whatever I try the error keeps popping up on screen and I am not able to do anaything about it. (I can not test if the error occured).
How can I catch the error. (I do not want to test the length of the string before I'm storing it)
I hope somebody can help me.
Thanks.