in reply to Re: searching through multiple sqlite databases - attach problem
in thread searching through multiple sqlite databases - attach problem

Nope: you are looping only three times - you miss $j == 1. Instead of writing "
for (my $j == 1; $j <=4; $j++) {...}
" you could write "
for (my $j = 2; $j < 5; $j++) { ... }
"