The simple answer here is: no, chained can't do this, because it represents everything as a tree, so every action has to have a fixed number of levels above it -- and as you say, matching at every level besides the bottom is done purely on PathParts, not via matching.
What you can do is create a 'default' action (:Path :Args) that will accept any number of args and remove prefixes that it recognizes (calling load_region etc. along the way) and then use the leftover args to redispatch. Unfortunately true redispatch is something else that Catalyst doesn't do very gracefully, but as long as it's in the same controller you should be able to take the first leftover arg as an action name in the current controller and the remainder as args for it, and then forward/detach there.
-hobbs, who no longer has his perlmonks password and no longer cares enough to retrieve it
In reply to Re: Catalyst - chained actions with empty PathPart
by Anonymous Monk
in thread Catalyst - chained actions with empty PathPart
by roman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |