in reply to Re: How to best pass on the context / wantarray?
in thread How to best pass on the context / wantarray?
Something like this was my first idea too, but that doesn't preserve the calling context - wantarray will always be defined in ->_get_self. jdporter's method would solve that problem of course, by inspecting the context one calling level higher.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to best pass on the context / wantarray?
by dragonchild (Archbishop) on Mar 27, 2006 at 11:43 UTC | |
|
Re^3: How to best pass on the context / wantarray? (know)
by tye (Sage) on Mar 27, 2006 at 16:52 UTC |