Jim Witte wrote:
>
>How do I get CGI.pm to work on MacOS X? I set up a script:
> --
> #!/bin/sh
^^
This means you are telling the OS that this is a Bourne shell script
_not Perl_. You need to start perl programs like this:
#!/usr/bin/perl
Or preferably like this:
#!/usr/bin/perl
How do I get CGI.pm to work on MacOS X? I set up a script:
--
#!/bin/sh
use CGI qw(:standard);
echo Content-type:text/plain
echo
echo This is text
--
which works, but if I try to use any of CGI.pm's functions (print
header, for example), it gives me a server error.
Thanks,
Jim
--
To unsu