projects
/
catagits/Web-Simple.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
876e62e
)
hello-world.cgi works again
Matt S Trout [Sat, 27 Nov 2010 01:45:56 +0000 (
01:45
+0000)]
examples/hello-world/hello-world.cgi
patch
|
blob
|
blame
|
history
diff --git
a/examples/hello-world/hello-world.cgi
b/examples/hello-world/hello-world.cgi
index
b24dc02
..
940847b
100644
(file)
--- a/
examples/hello-world/hello-world.cgi
+++ b/
examples/hello-world/hello-world.cgi
@@
-5,7
+5,7
@@
use Web::Simple 'HelloWorld';
{
package HelloWorld;
- dispatch {
+ sub dispatch_request {
sub (GET) {
[ 200, [ 'Content-type', 'text/plain' ], [ 'Hello world!' ] ]
},