[Catalyst] what is the type of $context?

Daniel McBrearty danielmcbrearty at gmail.com
Fri Jun 9 11:38:55 CEST 2006


fair point. I just don't have a working install in front of me, and
was wondering. lazy I guess ...


On 6/9/06, Carl Franks <fireartist at gmail.com> wrote:
> On 09/06/06, Daniel McBrearty <danielmcbrearty at gmail.com> wrote:
> > Is it an object in it's own right, or just a hash?
>
> As you can call methods on it, that means it's a blessed object.
> If you need to find what class it's blessed into, do:
>     print ref $c;
>
> You shouldn't need to know whether it's implemented as a hash or not;
> if you need to use it to store data, use $c->stash
>
> Carl
>
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
>


-- 
Daniel McBrearty
email : danielmcbrearty at gmail.com
www.engoi.com : the multi - language vocab trainer
BTW : 0873928131



More information about the Catalyst mailing list