in reply to
Catalyst : Observations After Week 1
rather than $c->forward('/we/had/the/path/wrong/foo')). when you are in the same package, you can just $c->forward('foo'); ;)
qw
(
marcus
)
Comment on
Re: Catalyst : Observations After Week 1
Select
or
Download
Code
Replies are listed 'Best First'.
Re^2: Catalyst : Observations After Week 1
by
water
(Deacon)
on Nov 13, 2005 at 14:44 UTC
Thanks! What are the disadvantages of the method call, vs. the forward?
water
[reply]
Re^3: Catalyst : Observations After Week 1
by
marcus
(Scribe)
on Nov 13, 2005 at 21:01 UTC
With the forward, it acts as an eval cage, and catches any errors using the catalyst exception handling mechanism. Also, it will automatically pass along args to the next method, and it will show up in the application flow in debug mode.
qw
(
marcus
)
[reply]
[d/l]
[select]
In Section
Meditations