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

Re: [cobalt-users] Perl Wont Execute



> Try it like this:
> 
> #!/usr/bin/perl
> print "Hello, World!\n";

On the command line, that will work.  You'll need to add the http
headers if it's going to be a cgi.  They look something like this:


	#!/usr/bin/perl
	print "Content-type: text/html\n\n";
	print "Hello, World!\n";

Lots of tutorials available on the web.  Google -> "perl cgi tutorial"

tim

-- 
Mechanical Engineers build weapons.  Civil Engineers build targets.