[Catalyst] Re: Shoot out -- Catalyst / RoR / Other MVC apps --
A. Pagaltzis
pagaltzis at gmx.de
Wed May 9 17:54:32 GMT 2007
Hi Bill,
* Bill Moseley <moseley at hank.org> [2007-05-09 18:35]:
> Not really a Cat question, but do many people use lexical vars
> to store their private methods in plugins?
>
> my $private_method = sub { ... }
>
> later:
>
> $self->$private_method( $foo );
I thought of that recently and have been doing it since. I think
it’s an excellent way to avoid one of the deficiencies in Perl’s
OO.
Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>
More information about the Catalyst
mailing list