in reply to Create a html page on fly

i dont know why html files are not created
Perl does, and it more than happy to tell you, if you ask for it.
open HTML, ">", "tmp/$filename" or die "Failed to open file: $!";
You may have to check your servers error log.

Replies are listed 'Best First'.
Re^2: Create a html page on fly
by mailmeakhila (Sexton) on Mar 16, 2012 at 22:06 UTC
    How can i check server logs? Update: I was able to check the logs. Its a permission issue. I resolved it. But i am facing a new issue here. The html page that is being generated is not being displayed. I am getting 500 internal server error. Any help?

      It could be that you are creating the HTML files in an area where the server expects to find CGI scripts, so it's trying to run them as scripts and failing. Again, your web server logs should give you more information behind the 500 error.

      Aaron B.
      My Woefully Neglected Blog, where I occasionally mention Perl.