in reply to Find a list of numbered files with same basename

You could try something like:

$dir='/path/to/dir'; chdir $dir or die "Unable to change to $dir. $!"; @list=glob("db.table.??");
Might have to change things depending on if all the files are in one directory or if you have to dig through directories. In that case, File::Find might be more helpful. I've found it slow, but the docs are pretty straightforward.