[Catalyst] Catalyst::Plugin::FormValidator questions
Marcello
m.romani at spinsoft.it
Wed Nov 16 16:20:55 CET 2005
John Wang ha scritto:
> Thanks Marcello. It looks like what I need. I saw it in the new
> Bundle::Catalyst list but didn't know what it was. I'll check it out
> once I'm operational on the new release.ù
Well its use is very simple:
Just put it into the list of plugin as usual; then, everywhere you
please, just write this:
<code>
my $c = MyApp->context;
</code>
From now on you have the usual "context handler" $c that you get for
free inside regular controller methods
(i.e. via the 'my ( $self, $c ) = @_' line).
HTH.
>
> Cheers,
> John
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
--
Marcello Romani
Developer
Spin s.r.l.
Reggio Emilia
http://www.spinsoft.it
More information about the Catalyst
mailing list