You've a typo in the line:
if ( -s '/strek/$race/logs/rlog$i.sr.html' ) {Since you use single quotes $race and $i are not substituted by their value. Just try:
if ( -s "/strek/$race/logs/rlog$i.sr.html" ) {In reply to Re: file check loop
by Anonymous Monk
in thread file check loop
by tevus_oriley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |