[Koha-devel] DBI digest

Douglas Bagnall douglas at katipo.co.nz
Thu May 16 03:16:01 CEST 2002


Alan wrote:

 >  foreach my $dummy (@results) {
 >      $query .= "?,";
 >  } # foreach

 > And there is probably a shorter way to do the correct number
 > of question marks via a count of @results.


That would be the x operator.

'?,' x 4  eq  '?,?,?,?,'


cheers,

Douglas






More information about the Koha-devel mailing list