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.In reply to Re: Real private methods using lexical subs in Perl 5.18.
by Grimy
in thread Real private methods using lexical subs in Perl 5.18.
by tobyink
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |