in reply to Re: 'automating' SQL queries, use Class::DBI?
in thread 'automating' SQL queries, use Class::DBI?
and so far most of the code has been tied to a CGI object ( not the best solution, but very few projects have needed to be decoupled from it ), so i can get away with:
i'll probably end up poking around more, but since i'm the only developer there, i don't want to blow too much time looking for solutions that don't really result in a gain.my $cnt = 1; foreach my $field ( @fields ) { $sth->bind_param( $cnt, $q->param( $field ); $cnt++; }
|
|---|