in reply to Re: How to eliminate warning message on hash value?
in thread How to eliminate warning message on hash value?
If you use BerkeleyDB and you use c_get / db_put / etc., you get a '' on success and a 'Err message' on failure. So you would have to '!' the function call. Only for BerkeleyDB, I define my TRUE/FALSE in reverse. But as you pointed out, I should have done as you proposed and it would have been a true perl function call, only it still has to return to the application a '' for success.
Thank you
"Well done is better than well said." - Benjamin Franklin
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to eliminate warning message on hash value?
by ikegami (Patriarch) on Dec 08, 2011 at 18:34 UTC |