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

index b24dc02..940847b 100644 (file)
@@ -5,7 +5,7 @@ use Web::Simple 'HelloWorld';
 {
   package HelloWorld;
 
-  dispatch {
+  sub dispatch_request {
     sub (GET) {
       [ 200, [ 'Content-type', 'text/plain' ], [ 'Hello world!' ] ]
     },