Subject: | More documentation errors / typos (patch) |
I have found two more coding/configuration errors in the examples section that bug #22141
did not point out. I have attached a patch file with the corrections.
Subject: | Dispatch.diff |
--- /Library/Perl/5.8.6/CGI/Application/Dispatch copy.pm 2006-02-12 09:55:50.000000000 -0500
+++ /Library/Perl/5.8.6/CGI/Application/Dispatch.pm 2006-10-31 08:47:16.000000000 -0500
@@ -62,7 +62,7 @@
prefix => 'MyApp',
table => [
'' => { app => 'Welcome', rm => 'start' },
- :app/:rm' => { },
+ ':app/:rm' => { },
'admin/:app/:rm' => { prefix => 'MyApp::Admin' },
],
};
@@ -549,7 +549,7 @@
TMPL_PATH => 'myapp/templates'
},
table => [
- '' => { app => 'Blog', rm => 'recent'}
+ '' => { app => 'Blog', rm => 'recent'},
'posts/:category' => { app => 'Blog', rm => 'posts' },
':app/:rm/:id' => { app => 'Blog' },
'date/:year/:month?/:day?' => {