Re: Class::DBI::MySQL + Time::Piece::MySQL problems
[prev]
[thread]
[next]
[Date index for 2004/12/28]
batou@xxxxxxx.xxx said:
> after_set_logintime trigger error: Can't inflate
> logintime to Time::Piece::MySQL using
> '1->_attr(logintime)': Time::Piece is not a
> Time::Piece::MySQL
That's the problem -- there is no such thing as a Time::Piece::MySQL
object. It uses the bizarre "mixin" idea and just directly adds things to
the Time::Piece class.
> CafeDB::Users->has_a(logintime =>
> "Time::Piece::MySQL",
Change that to "Time::Piece" instead.
- Perrin
|
|
Re: Class::DBI::MySQL + Time::Piece::MySQL problems
Perrin Harkins 22:44 on 28 Dec 2004
|