Skip to content

Instantly share code, notes, and snippets.

@tizoc
Created February 22, 2014 19:28
Show Gist options
  • Save tizoc/9160730 to your computer and use it in GitHub Desktop.
Save tizoc/9160730 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
print "HTTP/1.0 200 OK\n";
print "Content-type: text/html\n\n";
print <<HTML;
<html>
<head>
<title>A Simple Perl CGI</title>
</head>
<body>
<h1>A Simple Perl CGI</h1>
<p>Hello World</p>
</body>
<//html>
HTML
exit;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment