--- Dave Howorth <dhoworth at mrc-lmb.cam.ac.uk> wrote:
>
> Oh and this:
> my $select_box_limit = eval {$self->has_a_select_limit->{$col}} || '';
> avoids a warning (note ||'')
>
> Cheers, Dave
>
Thanks. I appreciate that. In case i haven't mentioned it, I'm very grateful
for any fixes and cleanups and changes anyone has.
> -------- Original Message --------
> Subject: Re: [Maypole] Maypole startup sequence
> Date: Fri, 10 Dec 2004 16:55:59 +0000
> From: Dave Howorth <dhoworth at mrc-lmb.cam.ac.uk>
> Organization: MRC Centre for Protein Engineering
> To: maypole mailing list <maypole at lists.netthink.co.uk>
> References: <20041210163903.3081.qmail at web52103.mail.yahoo.com>
>
> Peter Speltz wrote:
> > That's awesome. Thanks. One question i have about in the
> > "Class::DBI::Loader::mysql::_load_classes" part. Where it says " After
> that, it
> > pushes Class::DBI::mysql on to the inheritance list of the class and calls
> > set_db() . .. " I notice it "pushes" it on ISA list.
>
> Yeah, I think that's wrong.
>
> > Later on in setup Maypole
> > iterates and makes each class inherit from Maypole->model. Somehow in this
> > scheme, Class::DBI ends up earlier in the ISA list than Class::DBI::mysql
> for
> > me because Class::DBI methods are used before Class::DBI::mysql methods of
> same
> > name. Any ideas on why that is or if that is a bug?
>
> I was just looking at this myself (that's what prompted me to post the
> doc :) because I'd just noticed the same thing. In my app, Class::DBI's
> deprecated column_type method is getting called in preference to
> Class::DBI::mysql's real one. But in my app, I've tweaked the model and
> replaced the loader so I have to dig a lot to be sure whether it's
> something I've done or not. (Actually, I have three versions of the app,
> one with a standard loader, one with a hacked version of the loader, and
> one using my auto-generated initialisation)
>
> The behaviour I'm seeing is definitely a bug, but I don't know whether
> it's mine or in some other code yet :( I need to rerun my test with
> version 0 of the app.
>
> Cheers, Dave
>
>
> --
> Dave Howorth
> MRC Centre for Protein Engineering
> Hills Road, Cambridge, CB2 2QH
> 01223 252960
>
>
=====
pjs
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com
_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole
This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT