in reply to Unable to open file.

If the error messages aren't making sense, turn on diagnostics to get more verbose error messages

If those aren't making sense, check perlintro then explain what you're confused about