On 13 Dec 2007, at 17:07, Charlie Garrison wrote:

Good afternoon,

On 12/12/07 at 2:42 AM -0600, Jonathan Rockway <[EMAIL PROTECTED]> wrote:

On Wed, 2007-12-12 at 09:18 +0200, Octavian Rasnita wrote:

I haven't read anywhere that : Local is deprecated, and I use it very often. Why is it deprecated? I found it works very well, and it is the most simple
solution.

Who told you this?  It's not.

On 11/12/07 at 7:59 AM -0800, John Napiorkowski <[EMAIL PROTECTED]> wrote:

Then we also have :Local, which is also considered
somewhat deprecated in favor of :Path, :Default which

I was confused too and wondered why I should stop using :Local.


I too was briefly confused, but then decided that It Just Seemed to Work And Play Nicely With Everything Else so I determined to ignore the advice and keep on doing what I was doing before.

I guess the problem is that if you want to change the uri that triggers an action, you're a bit screwed with : Local because it may require changing calls in your code i.e. $c->forward('foo');

Someone needs to write up a "what kind of dispatch to use when" guide. Advent calendar volunteers anyone, we still have a few slots.

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to