Originally posted as a Categorized Question.
In reply to How do I test if I file exists without attaching a filehandle to it? by Anonymous Monk