FAQ
Recently on irc.perl.org I placed a few questions, and in order to not
miss out on any valuable insight from those here on the list who do not
frequent the irc.perl.org #catalyst channel I thought I'd place the same
matter before your attention here as well.

So, whaddayathink friends?

<tommy> i was involved with a thread on the catalyst mailing list a few
weeks ago, where I talked about forwarding at length... It was stated
that the most powerful way to do it was like so
<tommy>
$c->forward($c->controller('Helper::Ajax')->action_for('nocache_headers'));
<tommy> that just seems like overkill. what benefit do I get from that?
<tommy> this is so much shorter: $c->forward(Helper::Ajax =>
nocache_headers => []);
<tommy> does this give you something special that I'm missing?
$c->controller('foo')->action_for('bar')

--
Tommy Butler

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 4 | next ›
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedFeb 12, '10 at 7:10p
activeFeb 17, '10 at 1:54p
posts4
users2
websitecatalystframework.org
irc#catalyst

2 users in discussion

Tommy Butler: 2 posts Tomas Doran: 2 posts

People

Translate

site design / logo © 2021 Grokbase