in reply to How do I test if I file exists without attaching a filehandle to it?
(-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. [download]