=item * B<Literal>
- sub bar : Path('/foo/bar') { }
+ sub bar : Path('foo/bar') { }
Matches only http://localhost:3000/foo/bar.
But what if you also defined actions for /foo/boo and /foo/boo/hoo ?
- sub boo : Path('/foo/boo') { .. }
- sub hoo : Path('/foo/boo/hoo') { .. }
+ sub boo : Path('foo/boo') { .. }
+ sub hoo : Path('foo/boo/hoo') { .. }
Catalyst matches actions in most specific to least specific order: