[Catalyst-dev] uri_for_action

Hans Dieter Pearcey hdp.perl.catalyst.dev at weftsoar.net
Mon Mar 30 21:35:14 BST 2009


On Mon, Mar 30, 2009 at 08:26:07PM +0100, Ash Berlin wrote:
> What's the behaviour when you dont provide enough @other_stuff, or if  
> you provide too much @other_stuff for the combined CaptureArgs+Args?

It doesn't combine CaptureArgs + Args, and it hands off to uri_for, so the
behavior is the same as that.

It is exactly the same as

  $c->uri_for(
    $c->dispatcher->get_action_by_path($path),
    @rest
  );

> It should be die rather than return undef/invalid url.

It does whatever uri_for does.

hdp.



More information about the Catalyst-dev mailing list