in reply to Catalyst - chained actions with empty PathPart
01:37 whidgle day old unanswered question http://perlmonks.com/? +node_id=890325# Catalyst - chained actions with empty PathPart 01:39 hobbs yeah, the answer is don't use Chained for that 01:40 hobbs create a :Args action that will accept any number of + arguments and gets ('region', 'blah', 'category', 'bleh') as @args 01:40 hobbs and takes them two-by-two and sets variables or call +s load_region, load_category, etc. as necessary 01:40 hobbs (using a dispatch table or can or whatever if you li +ke, if you need something that complex, or just "if"... whatever) 01:40 hobbs and then forwards to the real work :) 01:41 whidgle i didn't ask it :) 01:42 hobbs oh, bleh :) 01:42 whidgle "comment on" is the link you want 01:43 hobbs well, I don't particularly want it :-P
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Catalyst - chained actions with empty PathPart
by hobbs (Monk) on Feb 27, 2011 at 23:47 UTC |