Hi Bill, * Bill Moseley <[EMAIL PROTECTED]> [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/> _______________________________________________ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/