Subject: | use Maypole::Config missing in Maypole::Model::CDBI::Plain |
It seems like the
Maypole::Config->mk_accessors(qw(table_to_class));
on line 4 in Maypole::Model::CDBI::Plain doesn't work unless Maypole::Config has already been loaded by something else. That's unfortunate. (in my application I inherit from this class in the existing CDBI base class)
The simple solution is to "use Maypole::Config;" at the top of Maypole/Model/CDBI/Plain.pm .