[Catalyst-dev] uri_for_action

Hans Dieter Pearcey hdp.perl.catalyst.dev at weftsoar.net
Sat Mar 28 04:51:59 GMT 2009


<@confound> I really want $c->uri_for_action('/private/path', @other_stuff)
<@confound> that is EXACTLY LIKE uri_for except it runs $c->dispatcher->get_action_by_whatever on the first argument
<@confound> I find myself writing that over and over.
<@confound> Also I want captures and args to be a single argument
<@confound> AND A PONY
<@mst> confound: I want that too
<@mst> nobody seems to care enough to write it

I've created the 'uri_for_action' branch off 5.80 that implements the first two
lines of this quote.  'captures and args together' and 'A PONY' will have to
wait until later.

opinions?  (in particular, mst, let me know if this isn't actually what you
were talking about wanting.)

hdp.



More information about the Catalyst-dev mailing list