wouldn't be able to report the method name.my $private_method = sub { get_logger()->info('testing 1 2 3'); };
In reply to Re^2: Real private methods using lexical subs in Perl 5.18.
by Arunbear
in thread Real private methods using lexical subs in Perl 5.18.
by tobyink
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |