>>>>> "Nigel" == Nigel G Romeril <[EMAIL PROTECTED]> writes:
Nigel> Try something like;
Nigel> #!/usr/bin/perl -w
Nigel> print "Content-type: text/html\n\n";
Nigel> print "Hello world, it works!\n";
Nigel> This should print a line of black text on a white background if your path,
permissions etc are OK
Well, the real simplest is:
#!/bin/sh
echo content-type: text/plain
echo
echo "hello world"
which doesn't depend on a sane location of Perl installation,
or even understanding HTML. :)
If you can get exactly "hello world" from that, you're on your way...
if you can't, you need to seek local authority to discover how things
are set up.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!