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

sartak at bestpractical.com sartak at bestpractical.com
Sun Oct 19 09:28:09 EDT 2008


Author: sartak
Date: Sun Oct 19 09:28:08 2008
New Revision: 16379

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

Log:
 r74163 at onn:  sartak | 2008-10-19 09:24:45 -0400
 Better error in a Rule class without _match


Modified: Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule.pm
==============================================================================
--- Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule.pm	(original)
+++ Path-Dispatcher/trunk/lib/Path/Dispatcher/Rule.pm	Sun Oct 19 09:28:08 2008
@@ -18,6 +18,8 @@
     default => 0,
 );
 
+sub _match { die "_match not implemented in " . (blessed($_[0]) || $_[0]) }
+
 sub match {
     my $self = shift;
     my $path = shift;



More information about the Bps-public-commit mailing list