in reply to How do I test if I file exists without attaching a filehandle to it?

Hi,
Use operators like -e, -r, -T for testing file permissions.
(-e <FILE/FILEHANDLE> returns true if file exists. -r <FILE/FILEHANDLE> returns true if file is readable. -T <FILE/FILEHANDLE> returns true if file is a text file.
  • Comment on Re: How do I test if I file exists without attaching a filehandle to it?
  • Download Code