in reply to Problem with table joins with Class::DBI
and then construct the statement on the fly.__PACKAGE__->set_sql('update', <<""); UPDATE __TABLE__ SET %s WHERE __IDENTIFIER__
You can use placeholders to use it latter in a similar search.sub my_sqlset { my ($self,$name,$statement) = @_; # escape your statement here $self->set_sql($name,$statement); }
|
|---|