[Catalyst] Variable Catalyst seems to be undefined.

Kieren Diment diment at gmail.com
Fri May 9 15:09:21 BST 2008


On 10 May 2008, at 00:01, Chris Devine wrote:

> TIA for any insight. I am new to Catalyst, using ver. 5.7012. I am  
> working
> through JR's examples as well trying to modify them. I found a strange
> problem (to me) that I couldn't find any solution for by searching.
>
> Loosely based on Addressbook, it seems that the variable Catalyst in
> index.tt2 is not defined. I first noticed this by Catalyst.uri_for 
> ('/login')
> returning ''.
>
> Does anyone have any pointers on debugging this?
>
>

Catalyst::View::TT uses c.stash.whatever in templates, while  
Catalyst::View::TTSite uses Catalyst.stash.whatever



More information about the Catalyst mailing list