[Catalyst] updating $c->user at runtime

Nigel Metheringham nigel.metheringham at dev.intechnology.co.uk
Tue Feb 7 12:36:40 CET 2006


On Tue, 2006-02-07 at 12:25 +0100, Wijnand Wiersma wrote:
> Op 7-feb-2006, om 12:04 heeft Yuval Kogman het volgende geschreven:
> > Very odd... Please set the environment variable DBI_TRACE to "1"
> > before running the server, and see if you get any SQL operations
> > during that request.
> 
> Well, it seems to do selects only.
> 
> Nice option DBI_TRACE,  have to remember that one :-)

An alternative is DBIX_CLASS_STORAGE_DBI_DEBUG which traces at the
DBIx::Class level and is a bit less chatty.

This is documented (in recent versions) in
DBIx::Class::Manual::Troubleshooting and DBIx::Class::Storage::DBI

	Nigel.

-- 
[ Nigel Metheringham           Nigel.Metheringham at InTechnology.co.uk ]
[ - Comments in this message are my own and not ITO opinion/policy - ]





More information about the Catalyst mailing list