Another option is to pass the handle to your module's constructor, and have it stored as an element of the blessed hash (assuming you use a hash, that is). The drawback to this is that you'll have to create an instance of your class for each different database handle you need, though
btrott's example has a similar weakness. (And it's not really a weakness.)