[Catalyst] access stash outside methods

Aditya Verma verma.aditya1 at gmail.com
Tue Aug 21 15:31:40 GMT 2007


Hi,

I am running catalyst under apache configured with mod_perl.

Can I somehow access stash out methods.

I want to declare a global variable inside controller and outside methods
which will be accessible in all controllers.
stash could be a solution but outside methods context object is not
available so i don't have access to stash.

please help me solve the problem.

Thanks,
Aditya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070821/dc813=
c25/attachment.htm


More information about the Catalyst mailing list