[thelist] perl and cgi-bin

Mark Groen evolt at markgroen.com
Sat Nov 1 14:45:19 CDT 2008


On Saturday 01 November 2008 08:43:41 Bob Meetin wrote:
> ......
> #!/usr/bin/perl
> print "Content-type: text/html\n\n";
> print "<H1>Hello World</H1>\n";
>
> On my site it prints Hello World.  So, I'm guessing that it's either a
> problem with perl or perhaps the path to perl.

Sounds like it is the path to perl, try these alternates:
#!/usr/local/bin/perl
#!/usr/sbin/perl 
#!/usr/lib/perl
--
cheers,

	Mark
--



More information about the thelist mailing list