in reply to Writing Test Case for Database Connectivity
DBD::Mock might do what you want. I haven't tried it myself.
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (456 votes). Check out past polls.