in reply to Re^2: [CDBI] avoiding set_sql() redefinitions
in thread [CDBI] avoiding set_sql() redefinitions
Regarding what you're doing with set_sql here, this is also pretty unusual. The set_sql stuff is supposed to be part of the class definition and it adds permanent class methods to your CDBI module. Changing these on the fly means you probably should be doing this part in some other way, like using DBI directly.
I don't quite understand why you're overwriting this query. Are you trying to have subclasses that all define this query differently?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: [CDBI] avoiding set_sql() redefinitions
by blazar (Canon) on Jan 05, 2006 at 17:13 UTC | |
by perrin (Chancellor) on Jan 05, 2006 at 18:44 UTC |