_get_self() doesn't need to have the same context as its caller, it just needs to know the context of its caller. So it is as simple as:
my $self= shift(@_)->_get_self( wantarray );
- tye
In reply to Re^3: How to best pass on the context / wantarray? (know)
by tye
in thread How to best pass on the context / wantarray?
by Corion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |