alwynpan has asked for the wisdom of the Perl Monks concerning the following question:
I understand what $self is, but I can't find any information about $c. Please help. Thank you.sub hello : Global { my ( $self, $c ) = @_; $c->stash->{template} = 'hello.tt'; } sub end : Private { my ( $self, $c ) = @_; $c->forward( $c->view('TT') ); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: What is the $c variable?
by Athanasius (Archbishop) on Nov 01, 2016 at 03:55 UTC | |
by alwynpan (Acolyte) on Nov 01, 2016 at 04:30 UTC | |
by Laurent_R (Canon) on Nov 01, 2016 at 09:30 UTC | |
|
Re: What is the $c variable?
by AnomalousMonk (Archbishop) on Nov 01, 2016 at 04:06 UTC | |
|
Re: What is the $c variable?
by Your Mother (Archbishop) on Nov 01, 2016 at 13:15 UTC |