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

In reply to Re: Catalyst - chained actions with empty PathPart by Anonymous Monk
in thread Catalyst - chained actions with empty PathPart by roman

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.