The first thing that comes to my mind is to have argok throw an exception. With Exception::Class, you can store any arbitrary data you want in the exception you throw. The problem is that bar's caller has to know to catch it. It doesn't just come as a return value.
In reply to Re: Force caller to return - reflection
by kyle
in thread Force caller to return - reflection
by Improv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |