Not only after the DB connect, but after the statement is run.
In reply to Re^3: SQL in perl/tk by chacham in thread SQL in perl/tk by vsurend