in reply to Confusion opening a file

Check the permissions, as per the previous monks' advice, and then check out HTML::Template, since it sounds like you're rolling your own templating system.