in reply to
Perl : Unable to use filehandle to open a file
I bet you were confusing a runtime warning (likely because opening the file failed, and then next, you can't print to a filehandle that isn't open) with a compilation error.
Comment on
Re: Perl : Unable to use filehandle to open a file
In Section
Seekers of Perl Wisdom