[Bps-public-commit] Path-Dispatcher branch, master, updated. 9aee21466d468477c499c8af94379d0230ff482d

Shawn Moore sartak at bestpractical.com
Sun Oct 24 02:27:43 EDT 2010


The branch, master has been updated
       via  9aee21466d468477c499c8af94379d0230ff482d (commit)
      from  e67d6b960752c7e338f191e9dbda98b675b11a54 (commit)

Summary of changes:
 lib/Path/Dispatcher/Cookbook.pod |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit 9aee21466d468477c499c8af94379d0230ff482d
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Sun Oct 24 15:27:42 2010 +0900

    Better example class names

diff --git a/lib/Path/Dispatcher/Cookbook.pod b/lib/Path/Dispatcher/Cookbook.pod
index 54089d5..9118ed2 100644
--- a/lib/Path/Dispatcher/Cookbook.pod
+++ b/lib/Path/Dispatcher/Cookbook.pod
@@ -19,14 +19,14 @@ C<token_delimiter> option for the C<default> group.
 Or define a subclass of L<Path::Dispatcher::Declarative> with a
 C<token_delimiter> method:
 
-    package Web::Dispatcher;
+    package Web::Dispatcher::Maker;
     use base 'Path::Dispatcher::Declarative';
 
     use constant token_delimiter => '/';
 
 
-    package My::Other::Dispatcher;
-    use Web::Dispatcher -base;
+    package My::Dispatcher;
+    use Web::Dispatcher::Maker -base;
 
 =head2 How can I do rule chaining (like in Catalyst)?
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list