[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] cgi perl?



Hi,

I have a program from the camel book:

#!/usr/bin/perl -w
#easy cgi
use CGI qw(param);

print<<END_of_Multiline_Text;
Content type: text/html

<html>
   <head>
   <title>hiw-</title>
   <body>
   Hello World

END_of_Multiline_Text

my $favorite = param("flavor");
print "<P>Your favorite flavor is $flavor.";
print<<All_done;
</body>
</html>
All_done


-----
How do I get it to work on the web I have it at
http://www.sonic.net/cgi-bin/star/hiw- (dash is part of the address)I
made it executable but how do I make it execute.

~arthur



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch