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)
In reply to Re: file check loop
by Cristoforo
in thread file check loop
by tevus_oriley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |