projects
/
catagits/Web-Simple.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
added match_true and match_false
[catagits/Web-Simple.git]
/
examples
/
hello-world
/
hello-world.cgi
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!' ] ]
},