in reply to Real private methods using lexical subs in Perl 5.18.
Yeah, I agree that relying on convention to mark 'private' subs is somewhat lackluster. This approach is really interesting.
This is very interesting. I wonder why the ugly mega-sigil is required, though. I can't think of a good reason to disallow the $self->lexical_sub() syntax.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Real private methods using lexical subs in Perl 5.18.
by LanX (Saint) on Jun 01, 2013 at 08:51 UTC |