Check out How do I test if I file exists without attaching a filehandle to it?.if (-e "$ENV{REMOTE_ADDR}.$ENV{HTTP_COOKIE}.txt") { do something if file exists } else { file does not exist }
In reply to Re: If File Exists
by muppetBoy
in thread If File Exists
by damian
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |