in reply to file check loop
I don't think glob can be used this way, (with an array to be globbed).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"; } }
while (my $race = <@races>)
for my $race (@races)
|
|---|