[Catalyst] Re: Problems forwarding to view

A. Pagaltzis pagaltzis at gmx.de
Fri Aug 3 07:21:09 GMT 2007


* Adeola Awoyemi <adeola at digitalcraftsmen.net> [2007-08-02 14:15]:
> Brian Cassidy wrote:
> >Adeola Awoyemi wrote:
> >># from MyApp::Controller::Root
> >>sub end : Private {
> >>    my ( $c, $self ) = @_;
> >>    $c->forward( $c->view('XSLT') );
> >>}
> >
> >try:
> >
> >my( $self, $c ) = @_;
> >
> 
> Doh! How could I have missed that one?! I feel sheepish ;-)

Here’s a tip: when you have a problem like this were something
seems to be going wrong with a bizarre error message that you
*KNOW* can’t be right, erase the whole thing and type it from
scratch.

Most of the time, the problem will magically go away.

(If you’re in the mood for a headslapping moment you can then
pull the old version out of your undo buffer and compare.)

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>



More information about the Catalyst mailing list