On Feb 3, 2008 11:47 AM, Kostas Chatzikokolakis <[EMAIL PROTECTED]> wrote:
> I'm using a dbi handle that is shared between many packages in my > code. Some package might do a "USE db_name" to change the current > database of the connection. Can I retrieve the current database name > from the handle, either from DBI or from the DBD::mysql driver > (without querying the server)? > What's wrong with 'perldoc DBI'? What's the name attribute of a database handle documented as doing? Does it not work for you? And please don't double post without waiting for an answer or explaining your double post. -- Jonathan Leffler <[EMAIL PROTECTED]> #include <disclaimer.h> Guardian of DBD::Informix - v2007.0914 - http://dbi.perl.org "Blessed are we who can laugh at ourselves, for we shall never cease to be amused."