Skip Menu |

This queue is for tickets about the Class-DBI-AutoLoader CPAN distribution.

Report information
The Basics
Id: 7396
Status: new
Priority: 0/
Queue: Class-DBI-AutoLoader

People
Owner: Nobody in particular
Requestors: dhoworth
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.12
Fixed in: (no value)



Subject: not compatible with use diagnostics;
Hi there, I just discovered that you get a really weird error if you have a use diagnostics line in your program and try to use Autoloader (see example below). I don't have the vaguest idea how to track down the problem any further, sorry. I don't think it's an important bug but it took me nearly a day to find this problem (the use diagnostics was buried in several thousand lines of nested modules :( ) so it might be worth adding a warning to the docs if it's not easy to fix. Thanks for a really useful package. Cheers, Dave #!/bin/env perl use strict; use warnings; use diagnostics; use Class::DBI::AutoLoader ( dsn => "dbi:mysql:test", username => 'dhoworth', password => 'whatever', options => { RaiseError => 1 }, tables => [ qw( table ) ], namespace => 'Test', );
From: Dave
[guest - Wed Aug 18 08:14:34 2004]: Show quoted text
> Hi there, > > I just discovered that you get a really weird error if you have a use > diagnostics line in your program and try to use Autoloader (see > example below). > > I don't have the vaguest idea how to track down the problem any > further, sorry. I don't think it's an important bug but it took me > nearly a day to find this problem (the use diagnostics was buried > in several thousand lines of nested modules :( ) so it might be > worth adding a warning to the docs if it's not easy to fix. > > > Thanks for a really useful package. > > Cheers, Dave > > > #!/bin/env perl > use strict; > use warnings; > use diagnostics; > > use Class::DBI::AutoLoader ( > dsn => "dbi:mysql:test", > username => 'dhoworth', > password => 'whatever', > options => { RaiseError => 1 }, > tables => [ qw( table ) ], > namespace => 'Test', > ); >
Oops, forgot to attach the output!
Download log
application/octet-stream 9.2k

Message body not shown because it is not plain text.