in reply to Raw HTML Code
I'm a little confused here. And I suspect you are too. What, exactly, are you trying to do?
Is this a CGI program that you want to run from a browser? In that case, it should write its output to STDOUT, not a file.
Or is this a command line program that is run to generate an HTML page which you will then upload to a web server? In that case, there is no need to print out a CGI header.
In either case, it's strange that you load the CGI.pm module and then completely ignore it.
I think that you don't really understand what you're trying to do. Please read a basic introduction to CGI programming.
See the Copyright notice on my home node.
"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg
|
|---|