Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Catalyst - chained actions with empty PathPart

by Anonymous Monk
on Feb 27, 2011 at 09:55 UTC ( [id://890389]=note: print w/replies, xml ) Need Help??


in reply to Catalyst - chained actions with empty PathPart

Having never used Catalyst, I solicited irc://irc.perl.org/#catalyst
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
    This was followed up by "sorry, misread the whole question" ;)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://890389]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-25 11:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found