in reply to remote perlscript
In any case, I think part of the problem may be that you never seem to print an http header or an initial <html> tag.
Have you considered using the CGI module? The documentation for that is pretty long, but it is pretty well organized, and you should be able to figure things out pretty quickly. It will help you to write code that is more coherent and easier to fix and maintain.
For example, your script could start with:
use strict; use CGI qw/standard/; print header, start_html( 'This is a test' ), h2( 'Hi.' ), h2( 'Here is a try using Perl/CGI.' ); # and so on...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: remote perlscript
by Anonymous Monk on Jan 21, 2007 at 18:47 UTC |