Dear all,
Actually it does not depend on having an installation of Perl at all, let alone a sane
one. I am assuming
that the enquirer can take my supplied code, change the first line so that it points
to their Perl install
directory. Save it as test.pl in a suitable directory, change the permissions and then
execute it in their
browser or from the command line. If they can do this they will know that they have
got most of the set up
right and can then attempt to execute a 'real' script. Secondly if they do not
understand html how are they
going to customise and edit a Guest Book script until it works to their satisfaction.
Regards
Nigel R
"Randal L. Schwartz" wrote:
> >>>>> "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!