|Perl: the Markov chain saw|
DBIx::Class connectionby morgon (Curate)
|on Jan 02, 2011 at 21:25 UTC||Need Help??|
morgon has asked for the
wisdom of the Perl Monks concerning the following question:
a quick DBIx::Class question:
MySchemaClass->connect(...) does not immediately connect to the database, but this seems to be done in a "lazy" way, not before a connection is really needed.
I would now like to create a log-message when the physical connection to the database is established, so I wonder how to register a callback with DBIx::Class to get notified when it connects.
Is that possible?