in reply to CGI on OpenBSD 5.6 httpd

Line 1 - Change !# to #!
Line 2 - add \n\n

#!/usr/bin/perl print "Content type: text/html\n\n"; print "hello world";
Move the script to the cgi-bin folder and try curl localhost/cgi-bin/hello
poj