Getting the current open database handle

Hi,

I just started to work myself into RT and especially DBIx::SearchBuilder
which gives me a headach atm.

What modules do I need and how can I access the current opened database
handle of RT in a completely

new module? I tried to get some samples out of the running systems, but
the overview of the inheritance needs

some time to get into my brain zzzz

thx for any hints and answers

cheers

-fe