in reply to Re^2: Class::DBI::Loader problems
in thread Class::DBI::Loader problems

I find this very very odd, but try adding a 'use Class::DBI;' call in the main script that you are calling Class::DBI::Loader from.

From what I can tell, Class::DBI::mysql's call to use base 'Class::DBI' isn't use()ing Class::DBI at all -- but I thought use base was anologous to use()ing the module and then setting @ISA appropriately.

I might just release a new Class-DBI-Loader distro with a use Class::DBI call up front

Replies are listed 'Best First'.
Re^4: Class::DBI::Loader problems
by rlb3 (Deacon) on Apr 12, 2006 at 18:16 UTC

    You win the prize! My use statements looks like:

    use strict; use warnings; use Data::Dumper; use Class::DBI; use Class::DBI::Loader;

    And now everything works fine. Is this a bug should someone be notified?

    Thanks,