|
|
| P is for Practical | |
| PerlMonks |
Re^7: Can DBI modify queries on the fly?by ikegami (Pope) |
| on Feb 18, 2009 at 18:36 UTC ( #744841=note: print w/ replies, xml ) | Need Help?? |
|
Notice the call to ->connect in the callback, overriding Sybase's? The callback mechanism provides a means of (conditional) overriding.
Note that it would probably make more sense to override prepare and/or execute than convenience methods such as selectrow_array. Update: Added code.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||