[Catalyst] Question about $c->forward()
Drew Taylor
taylor.andrew.j at gmail.com
Sat Nov 12 03:00:30 CET 2005
On 11/10/05, Sebastian Riedel <sri at oook.de> wrote:
>
>
> Upgrade or change the line
>
> $c->forward('My::C::Second', 'default');
> to
> $c->forward('/second/default');
So is there a "preferred" or "best practices" way to call forward()? I've
always used a url-style parameter (sri's second example), but don't mind
switching if one is preferred over the other. I find the second form easier
to understand, but if I'm not using any Regex actions so far (which might
change my mind).
Drew
--
----------------------------------------------------------------
Drew Taylor * Web development & consulting
Email: drew at drewtaylor.com * Site implementation & hosting
Web : www.drewtaylor.com <http://www.drewtaylor.com> *
perl/mod_perl/DBI/mysql/postgres
----------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20051111/7e390f6f/attachment.htm
More information about the Catalyst
mailing list