>
>BT> By using the magic 6th arg ($connect_meth in the DBI::connect
>source) to
>BT> DBI::connect. In my DB wrapper I have a connect method that
>internally calls
>
>Duh... the source!  What a concept ;-)

it's actually even documented (from DBI 1.18+ IIRC :)

The "dbi_connect_method" attribute can be used to
specify which driver method should be called to establish 
the connection. The only useful values are 'connect',
'connect_cached', or some specialized case like 
'Apache::DBI::connect' (which is automatically the
default when running within Apache).

--Geoff

Reply via email to