Gilimanjaro's point about using CGI is doubly made by the typo in your header. There should be a space after the colon and, as a result, you have no guarantee that the Web browser will parse things correctly. Further, if you're not using HTML, you may as well specify a plain text content type:
use CGI qw(:standard); print header('text/plain');
See my .sig for the location of my CGI course. You might find it useful.
Cheers,
Ovid
New address of my CGI Course.
Silence is Evil (feel free to copy and distribute widely - note copyright text)
In reply to Re: Newbie cgi question
by Ovid
in thread Newbie cgi question
by sidhartha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |