projects
/
catagits/Web-Simple.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
aec8b84
)
add golf example
Matt S Trout [Sun, 15 Jul 2012 23:18:07 +0000 (23:18 +0000)]
examples/golf/golf.cgi
[new file with mode: 0755]
patch
|
blob
diff --git a/examples/golf/golf.cgi
b/examples/golf/golf.cgi
new file mode 100755
(executable)
index 0000000..
324ce6e
--- /dev/null
+++ b/
examples/golf/golf.cgi
@@ -0,0
+1,4
@@
+#!/usr/bin/perl
+use Web::Simple;
+sub dispatch_request { [ 200, [ 'Content-type', 'text/plain' ], [ 'Hello world!' ] ] }
+__PACKAGE__->run_if_script;