Skip Menu |

This queue is for tickets about the CGI-Application-Dispatch CPAN distribution.

Report information
The Basics
Id: 22706
Status: resolved
Priority: 0/
Queue: CGI-Application-Dispatch

People
Owner: Nobody in particular
Requestors: dsteinbrunner [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: 2.03



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?' => {
fixed in 2.04