[Bps-public-commit] r16409 - in Path-Dispatcher/trunk: lib/Path

sartak at bestpractical.com sartak at bestpractical.com
Tue Oct 21 07:17:52 EDT 2008


Author: sartak
Date: Tue Oct 21 07:17:50 2008
New Revision: 16409

Modified:
   Path-Dispatcher/trunk/   (props changed)
   Path-Dispatcher/trunk/lib/Path/Dispatcher.pm

Log:
 r74224 at onn:  sartak | 2008-10-21 07:17:44 -0400
 Typo fixes in the doc


Modified: Path-Dispatcher/trunk/lib/Path/Dispatcher.pm
==============================================================================
--- Path-Dispatcher/trunk/lib/Path/Dispatcher.pm	(original)
+++ Path-Dispatcher/trunk/lib/Path/Dispatcher.pm	Tue Oct 21 07:17:50 2008
@@ -119,14 +119,14 @@
     my $dispatcher = Path::Dispatcher->new;
 
     $dispatcher->add_rule(
-        Path::Dispacher::Rule::Regex->new(
+        Path::Dispatcher::Rule::Regex->new(
             regex => qr{^/(foo)/},
             block => sub { warn $1; }, # foo
         )
     );
 
     $dispatcher->add_rule(
-        Path::Dispacher::Rule::Tokens->new(
+        Path::Dispatcher::Rule::Tokens->new(
             tokens    => ['ticket', 'delete', qr/^\d+$/],
             delimiter => '/',
             block     => sub { delete_ticket($3) },



More information about the Bps-public-commit mailing list