The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Plack::App::FakeModPerl1::Dispatcher - Mimic Apache mod_perl1's dispatcher

VERSION

version 0.0.6

We try to mimic the behaviour we're seeing in the apache/mod_perl world with our matching&dispatching; our current best guess is to 'use the "best match"', which we're saying is 'the one with the most path-parts (i.e. most / characters)

Looking at: http://ertw.com/blog/2007/08/23/apache-and-overlapping-location-directives/

So the general plan of action is to process each match in order, and store any new settings, potentially overriding existing ones. This appears to be how Apache does it, and hasn't broken in any obvious ways yet.

dispatch_for

AUTHOR

Chisel <chisel@chizography.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Chisel Wright.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.