#!/usr/bin/perl -w use strict; print "Content-type: text/html\n\n"; print "Hello World";
Make sure your file is saved as text and not as '.doc' or other such. If you've been copying and pasting you could get a corruption, so start a fresh file and type the above. Once that is working you can then start to add sections of your script and hopefully find the bug.
In reply to Re: Debugging woes
by jonnyfolk
in thread Debugging woes
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |