[Bast-commits] r7350 - DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual
abraxxa at dev.catalyst.perl.org
abraxxa at dev.catalyst.perl.org
Thu Aug 20 13:07:30 GMT 2009
Author: abraxxa
Date: 2009-08-20 13:07:29 +0000 (Thu, 20 Aug 2009)
New Revision: 7350
Modified:
DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual/Troubleshooting.pod
Log:
pod patch for 'Tracing SQL' examples
Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual/Troubleshooting.pod
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual/Troubleshooting.pod 2009-08-20 09:55:53 UTC (rev 7349)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual/Troubleshooting.pod 2009-08-20 13:07:29 UTC (rev 7350)
@@ -17,11 +17,11 @@
Alternatively use the C<< storage->debug >> class method:-
- $class->storage->debug(1);
+ $schema->storage->debug(1);
To send the output somewhere else set debugfh:-
- $class->storage->debugfh(IO::File->new('/tmp/trace.out', 'w');
+ $schema->storage->debugfh(IO::File->new('/tmp/trace.out', 'w');
Alternatively you can do this with the environment variable too:-
More information about the Bast-commits
mailing list