in reply to DBI and plain text passwords

It has alredy been written (at least mostly). See DBI::Proxy.