in reply to Re: Updating database question
in thread Updating database question

Do you mean I will need to write a sub-function to do the update and then call it after I set the value?
Bobby

Replies are listed 'Best First'.
Re^3: Updating database question
by dragonchild (Archbishop) on Jun 30, 2005 at 18:53 UTC
    inline or another sub is a matter of preference. My code example was how easy it would be to do what you're trying to do if you were using Class::DBI instead of directly using DBI.

    My criteria for good software:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?