in reply to file check loop

This might be a solution
for my $dir (glob "/strek/*/logs") { for my $i (0 .. 4) { print "$dir/rlog$i.sr.html either does not exist or is 0 bytes +!\n" unless -s "$dir/rlog$i.sr.html"; } }
I don't think glob can be used this way, (with an array to be globbed).
while (my $race = <@races>)
for my $race (@races)